aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/posix/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/sdl/posix/main.cpp')
-rw-r--r--backends/platform/sdl/posix/main.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/backends/platform/sdl/posix/main.cpp b/backends/platform/sdl/posix/main.cpp
index 35813291c1..cf1bc6ff2f 100644
--- a/backends/platform/sdl/posix/main.cpp
+++ b/backends/platform/sdl/posix/main.cpp
@@ -23,9 +23,11 @@
*
*/
+#ifdef UNIX
+
#include "common/scummsys.h"
-#include "backends/platform/posix/posix.h"
+#include "backends/platform/sdl/posix/posix.h"
#include "backends/plugins/sdl/sdl-provider.h"
#include "base/main.h"
@@ -44,3 +46,5 @@ int main(int argc, char *argv[]) {
delete (OSystem_POSIX *)g_system;
return res;
}
+
+#endif