From b4f3c0e54be3f586080dffee70c388e9f33d70b1 Mon Sep 17 00:00:00 2001 From: Brian Matzon Date: Mon, 10 Nov 2008 20:38:55 +0000 Subject: [PATCH] windows compile fixes --- src/native/common/extgl.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/native/common/extgl.h b/src/native/common/extgl.h index 2ef6d5d2..02826aa6 100644 --- a/src/native/common/extgl.h +++ b/src/native/common/extgl.h @@ -70,12 +70,18 @@ THE POSSIBILITY OF SUCH DAMAGE. #include #include +#include "common_tools.h" + +#if defined(_WIN32) || defined(_WIN64) + #include // fix APIENTRY macro redefinition + # define int64_t __int64 + # define uint64_t unsigned __int64 +#endif + #ifndef APIENTRY #define APIENTRY #endif -#include "common_tools.h" - #ifdef _MACOSX typedef unsigned long GLenum; typedef unsigned char GLboolean;