summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2003-12-04 15:59:41 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2003-12-04 15:59:41 +0000
commitfaf4059aa8cc477732eaebffe2af2d3ace10d043 (patch)
treecdf7a8bbe06440327762a7d969684805b16ed21e /include
parentf82c775fff7974ef9537332cdb5ade70703ba38c (diff)
check if GLAPIENTRYP is already set
Diffstat (limited to 'include')
-rw-r--r--include/GL/gl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 393784bf5c..cc1bba1913 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -96,7 +96,10 @@
#define APIENTRY GLAPIENTRY
#endif
#define APIENTRYP APIENTRY *
+
+#ifndef GLAPIENTRYP
#define GLAPIENTRYP GLAPIENTRY *
+#endif
#ifdef CENTERLINE_CLPP
#define signed