projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Applied Christian's change to drop unnecessary dependency to X11 libraries we
[freeglut]
/
src
/
fg_spaceball.c
diff --git
a/src/fg_spaceball.c
b/src/fg_spaceball.c
index
16b0c52
..
ba0e4e2
100644
(file)
--- a/
src/fg_spaceball.c
+++ b/
src/fg_spaceball.c
@@
-11,7
+11,7
@@
#include <GL/freeglut.h>
#include "fg_internal.h"
#include <GL/freeglut.h>
#include "fg_internal.h"
-#if(_WIN32_WINNT >= 0x0501)
+#if( !_WIN32 || _WIN32_WINNT >= 0x0501)
/* -- PRIVATE FUNCTIONS --------------------------------------------------- */
/* -- PRIVATE FUNCTIONS --------------------------------------------------- */
@@
-35,7
+35,7
@@
void fgInitialiseSpaceball(void)
void fgSpaceballClose(void)
{
void fgSpaceballClose(void)
{
- fgPlatformSpaceballClose();
+ fgPlatformSpaceballClose();
}
int fgHasSpaceball(void)
}
int fgHasSpaceball(void)
@@
-88,12
+88,12
@@
void fgSpaceballClose(void)
int fgHasSpaceball(void)
{
int fgHasSpaceball(void)
{
- return 0;
+ return 0;
}
int fgSpaceballNumButtons(void)
{
}
int fgSpaceballNumButtons(void)
{
- return 0;
+ return 0;
}
void fgSpaceballSetWindow(SFG_Window *window)
}
void fgSpaceballSetWindow(SFG_Window *window)