summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/osd/sdl.lua
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2015-04-01 03:44:38 +1100
committer Vas Crabb <vas@vastheman.com>2015-04-01 03:44:38 +1100
commitb64e4ecee5a5bee9d89b10bd1be5a188b3f694eb (patch)
treec7cac1d2c20f57a3687f911f28139dd17e004f85 /scripts/src/osd/sdl.lua
parentd7d3818ea6bf3e1dffb5b56d340d54913f113eff (diff)
Restore DONT_USE_NETWORK
Diffstat (limited to 'scripts/src/osd/sdl.lua')
-rw-r--r--scripts/src/osd/sdl.lua22
1 files changed, 14 insertions, 8 deletions
diff --git a/scripts/src/osd/sdl.lua b/scripts/src/osd/sdl.lua
index 1c8935c8fec..194558e38e2 100644
--- a/scripts/src/osd/sdl.lua
+++ b/scripts/src/osd/sdl.lua
@@ -265,27 +265,33 @@ if not _OPTIONS["MACOSX_USE_LIBSDL"] then
end
-BASE_TARGETOS = "unix"
-SDLOS_TARGETOS = "unix"
+BASE_TARGETOS = "unix"
+SDLOS_TARGETOS = "unix"
SYNC_IMPLEMENTATION = "tc"
-if _OPTIONS["targetos"]=="openbsd" then
+SDL_NETWORK = ""
+if _OPTIONS["targetos"]=="linux" then
+ SDL_NETWORK = "taptun"
+elseif _OPTIONS["targetos"]=="openbsd" then
SYNC_IMPLEMENTATION = "ntc"
elseif _OPTIONS["targetos"]=="netbsd" then
SYNC_IMPLEMENTATION = "ntc"
+ SDL_NETWORK = "pcap"
elseif _OPTIONS["targetos"]=="haiku" then
SYNC_IMPLEMENTATION = "ntc"
elseif _OPTIONS["targetos"]=="emscripten" then
SYNC_IMPLEMENTATION = "mini"
elseif _OPTIONS["targetos"]=="windows" then
- BASE_TARGETOS = "win32"
- SDLOS_TARGETOS = "win32"
+ BASE_TARGETOS = "win32"
+ SDLOS_TARGETOS = "win32"
SYNC_IMPLEMENTATION = "windows"
+ SDL_NETWORK = "pcap"
elseif _OPTIONS["targetos"]=="macosx" then
- SDLOS_TARGETOS = "macosx"
+ SDLOS_TARGETOS = "macosx"
SYNC_IMPLEMENTATION = "ntc"
+ SDL_NETWORK = "pcap"
elseif _OPTIONS["targetos"]=="os2" then
- BASE_TARGETOS = "os2"
- SDLOS_TARGETOS = "os2"
+ BASE_TARGETOS = "os2"
+ SDLOS_TARGETOS = "os2"
SYNC_IMPLEMENTATION = "os2"
end