From 764267bd18adc5df279862397a64f02c7d7f43d0 Mon Sep 17 00:00:00 2001 From: Johannes Zarl Date: Sat, 11 Jul 2015 21:26:48 +0000 Subject: [PATCH] Fix compilation on Linux. Commit ce15044f7362943aee7d465bf20310ba02991dae introduced an error "undefined reference to `sball_initialized'" on non-Windows operating systems. (cherry picked from commit 989ceddc191419daa02b08f664bbbce11cbc5598) (cherry picked from commit 989ceddc191419daa02b08f664bbbce11cbc5598) git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1769 7f0cb862-5218-0410-a997-914c9d46530a --- src/fg_spaceball.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fg_spaceball.c b/src/fg_spaceball.c index 16b0c52..9534746 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 --------------------------------------------------- */ -- 1.7.10.4