projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c12c9e
)
Fix compilation on Linux.
author
Johannes Zarl
<johannes@zarl.at>
Sat, 11 Jul 2015 21:26:48 +0000
(21:26 +0000)
committer
Diederick Niehorster
<dcnieho@gmail.com>
Sat, 11 Jul 2015 21:26:48 +0000
(21:26 +0000)
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
patch
|
blob
|
history
diff --git
a/src/fg_spaceball.c
b/src/fg_spaceball.c
index
16b0c52
..
9534746
100644
(file)
--- a/
src/fg_spaceball.c
+++ b/
src/fg_spaceball.c
@@
-11,7
+11,7
@@
#include <GL/freeglut.h>
#include "fg_internal.h"
-#if(_WIN32_WINNT >= 0x0501)
+#if( !_WIN32 || _WIN32_WINNT >= 0x0501)
/* -- PRIVATE FUNCTIONS --------------------------------------------------- */