[xiph-commits] r11511 - trunk/ogg/include/ogg

giles at svn.xiph.org giles at svn.xiph.org
Sat Jun 3 15:30:13 PDT 2006


Author: giles
Date: 2006-06-03 15:30:13 -0700 (Sat, 03 Jun 2006)
New Revision: 11511

Modified:
   trunk/ogg/include/ogg/os_types.h
Log:
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.


Modified: trunk/ogg/include/ogg/os_types.h
===================================================================
--- trunk/ogg/include/ogg/os_types.h	2006-06-03 18:29:18 UTC (rev 11510)
+++ trunk/ogg/include/ogg/os_types.h	2006-06-03 22:30:13 UTC (rev 11511)
@@ -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;



More information about the commits mailing list