summaryrefslogtreecommitdiff
path: root/src/mesa/main/glheader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/glheader.h')
-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