mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
Updated speex patch to remove BeOS work around, and add in Haiku typeS
This commit is contained in:
19
media-libs/speex/speex-1.2rc1-haiku.diff
Normal file
19
media-libs/speex/speex-1.2rc1-haiku.diff
Normal file
@@ -0,0 +1,19 @@
|
||||
diff -urN speex-1.2rc1/include/speex/speex_types.h speex-1.2rc1-haiku/include/speex/speex_types.h
|
||||
--- speex-1.2rc1/include/speex/speex_types.h 2009-02-19 00:38:33.000000000 +0000
|
||||
+++ speex-1.2rc1-haiku/include/speex/speex_types.h 2009-02-19 00:35:50.000000000 +0000
|
||||
@@ -73,6 +73,15 @@
|
||||
typedef int32_t spx_int32_t;
|
||||
typedef u_int32_t spx_uint32_t;
|
||||
|
||||
+#elif defined(__HAIKU__)
|
||||
+
|
||||
+ /* Haiku */
|
||||
+# include <sys/types.h>
|
||||
+ typedef short spx_int16_t;
|
||||
+ typedef unsigned short spx_uint16_t;
|
||||
+ typedef int spx_int32_t;
|
||||
+ typedef unsigned int spx_uint32_t;
|
||||
+
|
||||
#elif defined (__EMX__)
|
||||
|
||||
/* OS/2 GCC */
|
||||
Reference in New Issue
Block a user