38 /* MSVC/Borland */ |
38 /* MSVC/Borland */ |
39 typedef __int64 ogg_int64_t; |
39 typedef __int64 ogg_int64_t; |
40 typedef __int32 ogg_int32_t; |
40 typedef __int32 ogg_int32_t; |
41 typedef unsigned __int32 ogg_uint32_t; |
41 typedef unsigned __int32 ogg_uint32_t; |
42 typedef __int16 ogg_int16_t; |
42 typedef __int16 ogg_int16_t; |
43 typedef unsigned __int16 ogg_uint16_t; |
|
44 # else |
43 # else |
45 /* Cygwin */ |
44 /* Cygwin */ |
46 #include <_G_config.h> |
45 #include <_G_config.h> |
47 typedef _G_int64_t ogg_int64_t; |
46 typedef _G_int64_t ogg_int64_t; |
48 typedef _G_int32_t ogg_int32_t; |
47 typedef _G_int32_t ogg_int32_t; |
49 typedef _G_uint32_t ogg_uint32_t; |
48 typedef _G_uint32_t ogg_uint32_t; |
50 typedef _G_int16_t ogg_int16_t; |
49 typedef _G_int16_t ogg_int16_t; |
51 typedef _G_uint16_t ogg_uint16_t; |
|
52 # endif |
50 # endif |
53 |
51 |
54 #elif defined(__MACOS__) |
52 #elif defined(__MACOS__) |
55 |
53 |
56 # include <sys/types.h> |
54 # include <sys/types.h> |
57 typedef SInt16 ogg_int16_t; |
55 typedef SInt16 ogg_int16_t; |
58 typedef UInt16 ogg_uint16_t; |
|
59 typedef SInt32 ogg_int32_t; |
56 typedef SInt32 ogg_int32_t; |
60 typedef UInt32 ogg_uint32_t; |
57 typedef UInt32 ogg_uint32_t; |
61 typedef SInt64 ogg_int64_t; |
58 typedef SInt64 ogg_int64_t; |
62 |
59 |
63 #elif defined(__MACOSX__) /* MacOS X Framework build */ |
60 #elif (defined(__APPLE__) && defined(__MACH__)) /* MacOS X Framework build */ |
64 |
61 |
65 # include <sys/types.h> |
62 # include <sys/types.h> |
66 typedef int16_t ogg_int16_t; |
63 typedef int16_t ogg_int16_t; |
67 typedef u_int16_t ogg_uint16_t; |
|
68 typedef int32_t ogg_int32_t; |
64 typedef int32_t ogg_int32_t; |
69 typedef u_int32_t ogg_uint32_t; |
65 typedef u_int32_t ogg_uint32_t; |
70 typedef int64_t ogg_int64_t; |
66 typedef int64_t ogg_int64_t; |
71 |
67 |
72 #elif defined(__BEOS__) |
68 #elif defined(__BEOS__) |
76 |
72 |
77 #elif defined (__EMX__) |
73 #elif defined (__EMX__) |
78 |
74 |
79 /* OS/2 GCC */ |
75 /* OS/2 GCC */ |
80 typedef short ogg_int16_t; |
76 typedef short ogg_int16_t; |
81 typedef unsigned short ogg_uint16_t; |
|
82 typedef int ogg_int32_t; |
77 typedef int ogg_int32_t; |
83 typedef unsigned int ogg_uint32_t; |
78 typedef unsigned int ogg_uint32_t; |
84 typedef long long ogg_int64_t; |
79 typedef long long ogg_int64_t; |
85 |
80 |
86 #else |
81 #else |