summaryrefslogtreecommitdiffstats
path: root/examples/widgets/graphicsview/boxes/glextensions.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/graphicsview/boxes/glextensions.h')
-rw-r--r--examples/widgets/graphicsview/boxes/glextensions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/widgets/graphicsview/boxes/glextensions.h b/examples/widgets/graphicsview/boxes/glextensions.h
index ac73e61641..9b1724805d 100644
--- a/examples/widgets/graphicsview/boxes/glextensions.h
+++ b/examples/widgets/graphicsview/boxes/glextensions.h
@@ -81,6 +81,7 @@ glUnmapBuffer
#ifndef Q_OS_MAC
# ifndef APIENTRYP
# ifdef APIENTRY
+# undef APIENTRYP
# define APIENTRYP APIENTRY *
# else
# define APIENTRY