projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c3443b
)
add 64-bit typedefs for portability
author
Karl Schultz
<kschultz@freedesktop.org>
Thu, 8 Dec 2005 04:33:17 +0000
(
04:33
+0000)
committer
Karl Schultz
<kschultz@freedesktop.org>
Thu, 8 Dec 2005 04:33:17 +0000
(
04:33
+0000)
src/mesa/main/glheader.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/glheader.h
b/src/mesa/main/glheader.h
index 316a008ae301f4ef64650213ffaeead7258ff0c7..e80483c6bbbfca44a263e39a65a63224594c5b1a 100644
(file)
--- 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