File freeglut-mingw.diff of Package mingw32-freeglut

---
 src/freeglut_cursor.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: freeglut-2.8.1/src/freeglut_cursor.c
===================================================================
--- freeglut-2.8.1.orig/src/freeglut_cursor.c
+++ freeglut-2.8.1/src/freeglut_cursor.c
@@ -185,7 +185,7 @@ static void fghSetCursor ( SFG_Window *w
      * Joe Krahn is re-writing the following code.
      */
     /* Set the cursor AND change it for this window class. */
-#if !defined(__MINGW64__) && _MSC_VER <= 1200
+#if !defined(__MINGW64__) && defined(_MSC_VER) && _MSC_VER <= 1200
 #       define MAP_CURSOR(a,b)                                   \
         case a:                                                  \
             SetCursor( LoadCursor( NULL, b ) );                  \
openSUSE Build Service is sponsored by