Adding a check for mingw64 in "freeglut_cursor.c" per e-mail from Sisyphus dated...
authorJohn F. Fay <johnffay@nettally.com>
Wed, 4 Nov 2009 00:38:55 +0000 (00:38 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Wed, 4 Nov 2009 00:38:55 +0000 (00:38 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@835 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_cursor.c

index 93b6b20..0d48e99 100644 (file)
@@ -162,7 +162,7 @@ void fgSetCursor ( SFG_Window *window, int cursorID )
      * Joe Krahn is re-writing the following code.
      */
     /* Set the cursor AND change it for this window class. */
-#if _MSC_VER <= 1200
+#if !defined(__MINGW64__) && _MSC_VER <= 1200
 #       define MAP_CURSOR(a,b)                                   \
         case a:                                                  \
             SetCursor( LoadCursor( NULL, b ) );                  \