Blob Blame History Raw
diff -rupN --no-dereference speex-1.2.0/src/wave_out.h speex-1.2.0-new/src/wave_out.h
--- speex-1.2.0/src/wave_out.h	2015-07-06 17:02:09.000000000 +0200
+++ speex-1.2.0-new/src/wave_out.h	2021-11-22 09:02:04.339990371 +0100
@@ -42,10 +42,12 @@
 #define VERSION_STRING "\n 0.7.0\n"
 
 #define Cdecl               __cdecl
-#define __attribute__(x)
 #define sleep(__sec)        Sleep ((__sec) * 1000)
+#ifndef __MINGW32__
+#define __attribute__(x)
 #define inline              __inline
 #define restrict
+#endif
 
 //// constants /////////////////////////////////////////////////////