summaryrefslogtreecommitdiff
path: root/src/mesa/glapi/glapitable.h
diff options
context:
space:
mode:
authorBrian <brian@i915.localnet.net>2007-02-24 18:15:45 -0700
committerBrian <brian@i915.localnet.net>2007-02-24 18:15:45 -0700
commitd9fb113e0571dba9ac29576015cb5816c53ac467 (patch)
tree12b8fd7438f168eaffaf0eec9de5281210040db6 /src/mesa/glapi/glapitable.h
parent53170942e37ccdf58e06a2cfbfeef6c0ec086ee6 (diff)
parent3f8c5969ffea5485aa119f4d766cdfee7d4aadeb (diff)
Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa
Diffstat (limited to 'src/mesa/glapi/glapitable.h')
-rw-r--r--src/mesa/glapi/glapitable.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/glapi/glapitable.h b/src/mesa/glapi/glapitable.h
index 55548adcd3..4af0c2d43b 100644
--- a/src/mesa/glapi/glapitable.h
+++ b/src/mesa/glapi/glapitable.h
@@ -30,7 +30,11 @@
# define _GLAPI_TABLE_H_
#ifndef GLAPIENTRYP
-#define GLAPIENTRYP
+# ifndef GLAPIENTRY
+# define GLAPIENTRY
+# endif
+
+# define GLAPIENTRYP GLAPIENTRY *
#endif
typedef void (*_glapi_proc)(void); /* generic function pointer */