projects
/
drnoksnes
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0cd75e
)
minor fix for gui-less building
author
Javier S. Pedro
<maemo@javispedro.com>
Mon, 22 Mar 2010 18:24:47 +0000
(19:24 +0100)
committer
Javier S. Pedro
<maemo@javispedro.com>
Mon, 22 Mar 2010 18:24:47 +0000
(19:24 +0100)
platform/sdl.cpp
patch
|
blob
|
history
diff --git
a/platform/sdl.cpp
b/platform/sdl.cpp
index
0cb077e
..
46786b2
100644
(file)
--- a/
platform/sdl.cpp
+++ b/
platform/sdl.cpp
@@
-14,10
+14,13
@@
#include "soundux.h"
#include "hacks.h"
#include "snapshot.h"
-#include "osso.h"
#define kPollEveryNFrames 5 //Poll input only every this many frames
+
+#if CONF_GUI
+#include "osso.h"
#define kPollOssoEveryNFrames 10 //Poll dbus only every this many frames
+#endif
#define TRACE printf("trace: %s:%s\n", __FILE__, __func__);
#define DIE(format, ...) do { \