changeset 17688:e8dca2bbd796

Better fallback for APIENTRY when compiling for Windows
author reimar
date Sun, 26 Feb 2006 09:47:17 +0000
parents d0ed76b74bc0
children 351c4f61140f
files libvo/gl_common.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/gl_common.h	Sun Feb 26 09:35:21 2006 +0000
+++ b/libvo/gl_common.h	Sun Feb 26 09:47:17 2006 +0000
@@ -21,6 +21,8 @@
 #ifndef APIENTRY
 #ifdef GLAPIENTRY
 #define APIENTRY GLAPIENTRY
+#elif defined(GL_WIN32)
+#define APIENTRY __stdcall
 #else
 #define APIENTRY
 #endif