summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2005-12-08 04:32:02 +0000
committerKarl Schultz <kschultz@freedesktop.org>2005-12-08 04:32:02 +0000
commit4c3443b460748c1406b91baa5ffe20e3cbe9e61c (patch)
treef9727f269bb9bfb98fe5e88952a6e3a4627ddf3b /include
parentf2b9fa03da5291f764262c91c820103a0ca4e328 (diff)
handle 64-bit types for Windows.
Diffstat (limited to 'include')
-rw-r--r--include/GL/gl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 75c6167244..5b6733c851 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -2239,6 +2239,9 @@ typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEATIPROC) (GLenum modeRGB, GLen
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
typedef long long int GLint64EXT;
typedef unsigned long long int GLuint64EXT;
+#elif defined(_WIN32)
+ typedef __int64 GLint64EXT;
+ typedef unsigned __int64 GLuint64EXT;
#else
/* this might actually be a 32-bit type */
typedef long int GLint64_EXT;