summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglfunctions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/qglfunctions.h')
-rw-r--r--src/opengl/qglfunctions.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/opengl/qglfunctions.h b/src/opengl/qglfunctions.h
index e789d4020d..3b50a1cd66 100644
--- a/src/opengl/qglfunctions.h
+++ b/src/opengl/qglfunctions.h
@@ -59,11 +59,7 @@ QT_MODULE(OpenGL)
typedef ptrdiff_t qgl_GLintptr;
typedef ptrdiff_t qgl_GLsizeiptr;
-#ifdef Q_WS_WIN
-# define QGLF_APIENTRY APIENTRY
-#endif
-#ifndef Q_WS_MAC
# ifndef QGLF_APIENTRYP
# ifdef QGLF_APIENTRY
# define QGLF_APIENTRYP QGLF_APIENTRY *
@@ -72,10 +68,6 @@ typedef ptrdiff_t qgl_GLsizeiptr;
# define QGLF_APIENTRYP *
# endif
# endif
-#else
-# define QGLF_APIENTRY
-# define QGLF_APIENTRYP *
-#endif
struct QGLFunctionsPrivate;