#pragma message is only understood my MS compiler
authorNigel Stewart <nigels.com@gmail.com>
Tue, 30 Dec 2003 01:58:19 +0000 (01:58 +0000)
committerNigel Stewart <nigels.com@gmail.com>
Tue, 30 Dec 2003 01:58:19 +0000 (01:58 +0000)
#if defined(_MSC_VER) .. #endif

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@423 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_window.c

index a8bdf21..32a0aba 100644 (file)
@@ -162,7 +162,9 @@ GLboolean fgSetupPixelFormat( SFG_Window* window, GLboolean checkOnly,
     if( fgState.DisplayMode & GLUT_DOUBLE )
         flags |= PFD_DOUBLEBUFFER;
 
+#if defined(_MSC_VER)
 #pragma message( "fgSetupPixelFormat(): there is still some work to do here!" )
+#endif
 
     /*
      * Specify which pixel format do we opt for...