summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRalph Giles <giles@xiph.org>2006-06-03 22:30:13 +0000
committerRalph Giles <giles@xiph.org>2006-06-03 22:30:13 +0000
commitda2076e9525dd3dadb36f21e24e015c77ab978ce (patch)
treeb9be8db05d9f2618ed22312eff912bdf726b32ef /include
parent0e36d94eea3363b952b2d8c3cb857efd4b3d807c (diff)
downloadogg-da2076e9525dd3dadb36f21e24e015c77ab978ce.tar.gz
Use stdint types for the CYGWIN build instead of the ones from
_G_config.h. This is reportedly more reliable in these modern times. Also, remove spurious whitespace from the MINGW32 typedefs. git-svn-id: http://svn.xiph.org/trunk/ogg@11511 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'include')
-rw-r--r--include/ogg/os_types.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/include/ogg/os_types.h b/include/ogg/os_types.h
index e576080..a6aedeb 100644
--- a/include/ogg/os_types.h
+++ b/include/ogg/os_types.h
@@ -27,19 +27,20 @@
#if defined(_WIN32)
# if defined(__CYGWIN__)
-# include <_G_config.h>
- typedef _G_int64_t ogg_int64_t;
- typedef _G_int32_t ogg_int32_t;
- typedef _G_uint32_t ogg_uint32_t;
- typedef _G_int16_t ogg_int16_t;
- typedef _G_uint16_t ogg_uint16_t;
+# 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;
# elif defined(__MINGW32__)
- typedef short ogg_int16_t;
- typedef unsigned short ogg_uint16_t;
- typedef int ogg_int32_t;
- typedef unsigned int ogg_uint32_t;
- typedef long long ogg_int64_t;
- typedef unsigned long long ogg_uint64_t;
+ typedef short ogg_int16_t;
+ typedef unsigned short ogg_uint16_t;
+ typedef int ogg_int32_t;
+ typedef unsigned int ogg_uint32_t;
+ typedef long long ogg_int64_t;
+ typedef unsigned long long ogg_uint64_t;
# elif defined(__MWERKS__)
typedef long long ogg_int64_t;
typedef int ogg_int32_t;