summaryrefslogtreecommitdiff
path: root/include/vorbis
diff options
context:
space:
mode:
authorMonty <xiphmont@xiph.org>2000-07-07 06:16:24 +0000
committerMonty <xiphmont@xiph.org>2000-07-07 06:16:24 +0000
commit6ddfb9f18a73842e2a8dac2dc4eb4adb464387f0 (patch)
tree96df74c74b2c8f943e92b92afc3310e902391fd4 /include/vorbis
parent20a950f1ca5a99b376de4a1bb109157487798116 (diff)
downloadlibvorbis-git-6ddfb9f18a73842e2a8dac2dc4eb4adb464387f0.tar.gz
Add autoconf test for the bad glibc headers
remove drand48() from seeking test svn path=/trunk/vorbis/; revision=520
Diffstat (limited to 'include/vorbis')
-rw-r--r--include/vorbis/os_types.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/include/vorbis/os_types.h b/include/vorbis/os_types.h
index 59fffed0..8ed6c203 100644
--- a/include/vorbis/os_types.h
+++ b/include/vorbis/os_types.h
@@ -14,13 +14,22 @@
********************************************************************
function: #ifdef jail to whip a few platforms into the UNIX ideal.
- last mod: $Id: os_types.h,v 1.5 2000/06/19 22:55:49 xiphmont Exp $
+ last mod: $Id: os_types.h,v 1.6 2000/07/07 06:16:24 xiphmont Exp $
********************************************************************/
-#if defined (_WIN32) && !defined(__GNUC__)
+#if defined (_WIN32)
+#if !defined(__GNUC__)
+
typedef __int64 int64_t;
+typedef __int16 int16_t;
#define vorbis_size32_t int
+#else
+#include <_G_config.h>
+pedef _G_int64_t int64_t;
+typedef _G_int32_t int32_t;
+typedef _G_int16_t int16_t;
+#endif
#endif
#ifdef __BEOS__