projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26c1c04
)
glu: fix compilation problem when using Windows gl.h (sf bug 2204589)
author
Nigel Stewart
<nigels@sourceforge.net>
Wed, 29 Oct 2008 15:22:05 +0000
(09:22 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 29 Oct 2008 15:23:48 +0000
(09:23 -0600)
include/GL/glu.h
patch
|
blob
|
history
diff --git
a/include/GL/glu.h
b/include/GL/glu.h
index 3cd1113509f52c5734e6c5ac93d61f84372c8a1e..cd967ac5ed4b12d1efe58fb7ee2382a7fa1e9bc1 100644
(file)
--- a/
include/GL/glu.h
+++ b/
include/GL/glu.h
@@
-38,8
+38,12
@@
#include <GL/gl.h>
#ifndef GLAPIENTRY
+#if defined(_MSC_VER) || defined(__MINGW32__)
+#define GLAPIENTRY __stdcall
+#else
#define GLAPIENTRY
#endif
+#endif
#ifndef GLAPIENTRYP
#define GLAPIENTRYP GLAPIENTRY *