From: Karl Schultz Date: Thu, 8 Dec 2005 04:33:17 +0000 (+0000) Subject: add 64-bit typedefs for portability X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0694adaf71d5048b4a3c64b2280f39efe5f0766f;p=mesa.git add 64-bit typedefs for portability --- 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