X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=sidebyside;f=src%2Ffg_spaceball.c;h=ba0e4e2cecbecfa98933a86ec55c1900db68f43a;hb=207c3128bf025b5e025bace5c0425d380dd72aa9;hp=16b0c5241351261993b446a38896f047f677e3cd;hpb=23613f66511be15d205d5bd7bb49883ad8c66624;p=freeglut diff --git a/src/fg_spaceball.c b/src/fg_spaceball.c index 16b0c52..ba0e4e2 100644 --- a/src/fg_spaceball.c +++ b/src/fg_spaceball.c @@ -11,7 +11,7 @@ #include #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)