|
From: <ma...@us...> - 2008-11-10 20:38:59
|
Revision: 3147
http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3147&view=rev
Author: matzon
Date: 2008-11-10 20:38:55 +0000 (Mon, 10 Nov 2008)
Log Message:
-----------
windows compile fixes
Modified Paths:
--------------
trunk/LWJGL/src/native/common/extgl.h
Modified: trunk/LWJGL/src/native/common/extgl.h
===================================================================
--- trunk/LWJGL/src/native/common/extgl.h 2008-11-10 20:07:21 UTC (rev 3146)
+++ trunk/LWJGL/src/native/common/extgl.h 2008-11-10 20:38:55 UTC (rev 3147)
@@ -70,12 +70,18 @@
#include <string.h>
#include <stddef.h>
+#include "common_tools.h"
+
+#if defined(_WIN32) || defined(_WIN64)
+ #include <windows.h> // 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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|