cleaning up mixed tabs and spaces
[freeglut] / src / fg_spaceball.c
index 16b0c52..ba0e4e2 100644 (file)
@@ -11,7 +11,7 @@
 #include <GL/freeglut.h>
 #include "fg_internal.h"
 
-#if(_WIN32_WINNT >= 0x0501)
+#if( !_WIN32 || _WIN32_WINNT >= 0x0501)
 
 /* -- PRIVATE FUNCTIONS --------------------------------------------------- */
 
@@ -35,7 +35,7 @@ void fgInitialiseSpaceball(void)
 
 void fgSpaceballClose(void)
 {
-       fgPlatformSpaceballClose();
+    fgPlatformSpaceballClose();
 }
 
 int fgHasSpaceball(void)
@@ -88,12 +88,12 @@ void fgSpaceballClose(void)
 
 int fgHasSpaceball(void)
 {
-       return 0;
+    return 0;
 }
 
 int fgSpaceballNumButtons(void)
 {
-       return 0;
+    return 0;
 }
 
 void fgSpaceballSetWindow(SFG_Window *window)