Patch libogg for generic Unix compilers
This commit is contained in:
parent
a446209c31
commit
b4a2a295d1
|
@ -141,7 +141,13 @@
|
|||
|
||||
#else
|
||||
|
||||
# include <ogg/config_types.h>
|
||||
# include <stdint.h>
|
||||
typedef int16_t ogg_int16_t;
|
||||
typedef uint16_t ogg_uint16_t;
|
||||
typedef int32_t ogg_int32_t;
|
||||
typedef uint32_t ogg_uint32_t;
|
||||
typedef int64_t ogg_int64_t;
|
||||
typedef uint64_t ogg_uint64_t;
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
diff --git a/rhubarb/lib/ogg-1.3.3/include/ogg/os_types.h b/rhubarb/lib/ogg-1.3.3/include/ogg/os_types.h
|
||||
index b8f5630..06257a8 100644
|
||||
--- a/rhubarb/lib/ogg-1.3.3/include/ogg/os_types.h
|
||||
+++ b/rhubarb/lib/ogg-1.3.3/include/ogg/os_types.h
|
||||
@@ -141,7 +141,13 @@
|
||||
|
||||
#else
|
||||
|
||||
-# include <ogg/config_types.h>
|
||||
+# include <stdint.h>
|
||||
+ typedef int16_t ogg_int16_t;
|
||||
+ typedef uint16_t ogg_uint16_t;
|
||||
+ typedef int32_t ogg_int32_t;
|
||||
+ typedef uint32_t ogg_uint32_t;
|
||||
+ typedef int64_t ogg_int64_t;
|
||||
+ typedef uint64_t ogg_uint64_t;
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue