From 7629fc0c3347eca8ff9d0567a8c28c30672e07eb Mon Sep 17 00:00:00 2001 From: fgenesis Date: Sat, 14 Jan 2017 12:48:54 +0100 Subject: [PATCH] Hopefully fix build on weird platforms --- .../libogg/include/ogg/config_types.h | 13 ++++++++++ .../libogg/include/ogg/config_types.h.in | 25 ------------------- 2 files changed, 13 insertions(+), 25 deletions(-) create mode 100644 ExternalLibs/libogg/include/ogg/config_types.h delete mode 100644 ExternalLibs/libogg/include/ogg/config_types.h.in diff --git a/ExternalLibs/libogg/include/ogg/config_types.h b/ExternalLibs/libogg/include/ogg/config_types.h new file mode 100644 index 0000000..6c4ae15 --- /dev/null +++ b/ExternalLibs/libogg/include/ogg/config_types.h @@ -0,0 +1,13 @@ +#ifndef __CONFIG_TYPES_H__ +#define __CONFIG_TYPES_H__ + +/* @@AQUARIA: just force this to stdint.h. */ +# include +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 diff --git a/ExternalLibs/libogg/include/ogg/config_types.h.in b/ExternalLibs/libogg/include/ogg/config_types.h.in deleted file mode 100644 index 750e29d..0000000 --- a/ExternalLibs/libogg/include/ogg/config_types.h.in +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef __CONFIG_TYPES_H__ -#define __CONFIG_TYPES_H__ - -/* these are filled in by configure */ -#define INCLUDE_INTTYPES_H @INCLUDE_INTTYPES_H@ -#define INCLUDE_STDINT_H @INCLUDE_STDINT_H@ -#define INCLUDE_SYS_TYPES_H @INCLUDE_SYS_TYPES_H@ - -#if INCLUDE_INTTYPES_H -# include -#endif -#if INCLUDE_STDINT_H -# include -#endif -#if INCLUDE_SYS_TYPES_H -# include -#endif - -typedef @SIZE16@ ogg_int16_t; -typedef @USIZE16@ ogg_uint16_t; -typedef @SIZE32@ ogg_int32_t; -typedef @USIZE32@ ogg_uint32_t; -typedef @SIZE64@ ogg_int64_t; - -#endif