diff options
Diffstat (limited to 'config.tests/unix/opengldesktop/opengldesktop.cpp')
-rw-r--r-- | config.tests/unix/opengldesktop/opengldesktop.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config.tests/unix/opengldesktop/opengldesktop.cpp b/config.tests/unix/opengldesktop/opengldesktop.cpp index af21cfdfda..eea16b8fbd 100644 --- a/config.tests/unix/opengldesktop/opengldesktop.cpp +++ b/config.tests/unix/opengldesktop/opengldesktop.cpp @@ -39,10 +39,10 @@ ** ****************************************************************************/ -#if defined(Q_OS_MAC) -# include <OpenGL/gl.h> +#ifdef __APPLE__ +#include <OpenGL/gl.h> #else -# include <GL/gl.h> +#include <GL/gl.h> #endif int main(int, char **) |