summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2005-12-08 04:33:17 +0000
committerKarl Schultz <kschultz@freedesktop.org>2005-12-08 04:33:17 +0000
commit0694adaf71d5048b4a3c64b2280f39efe5f0766f (patch)
tree01bb68d1d23981734d9281c83258020167aa100b
parent4c3443b460748c1406b91baa5ffe20e3cbe9e61c (diff)
add 64-bit typedefs for portability
-rw-r--r--src/mesa/main/glheader.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index 316a008ae3..e80483c6bb 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -147,6 +147,13 @@
#define CAPI _cdecl
#endif
+#if defined(__WIN32__)
+ typedef __int64 MESA_LONGLONG;
+ typedef unsigned __int64 MESA_ULONGLONG;
+#else
+ typedef long long MESA_LONGLONG;
+ typedef unsigned long long MESA_ULONGLONG;
+#endif
/* This is a macro on IRIX */
#ifdef _P