From 0694adaf71d5048b4a3c64b2280f39efe5f0766f Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Thu, 8 Dec 2005 04:33:17 +0000 Subject: add 64-bit typedefs for portability --- src/mesa/main/glheader.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mesa/main/glheader.h') diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index 316a008ae30..e80483c6bbb 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 -- cgit v1.2.3