Revision: 3415
http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3415&view=rev
Author: spasi
Date: 2010-09-27 00:13:31 +0000 (Mon, 27 Sep 2010)
Log Message:
-----------
Apple's cl_platform.h is missing CL_CALLBACK.
Modified Paths:
--------------
trunk/LWJGL/src/native/common/extcl.h
Modified: trunk/LWJGL/src/native/common/extcl.h
===================================================================
--- trunk/LWJGL/src/native/common/extcl.h 2010-09-26 23:49:09 UTC (rev 3414)
+++ trunk/LWJGL/src/native/common/extcl.h 2010-09-27 00:13:31 UTC (rev 3415)
@@ -55,8 +55,12 @@
// -----------------[ Callback function typedefs ]-----------------
+#ifndef CL_CALLBACK
+ #define CL_CALLBACK
+#endif
+
// TODO: This is a bug in current CL implementations (AMD's only?), remove when fixed. (used for cl_native_kernel_func)
-#if defined(_WIN32)
+#if defined(_WIN32) || defined(_WIN64)
#define CL_USER_FUNC_CALLBACK __cdecl
#else
#define CL_USER_FUNC_CALLBACK CL_CALLBACK
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|