summaryrefslogtreecommitdiff
path: root/SConscript
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-05-04 23:19:23 (GMT)
committer jacob1 <jfu614@gmail.com>2013-05-04 23:19:23 (GMT)
commita4e75d587fb6a256da5584328b3dd84a185b5640 (patch)
tree0df2b0aa7b090259665b4d58a3a2e8c0ab2c8c17 /SConscript
parent73fe68a3eb336bac2b76c70ec659bb0fd10df8c1 (diff)
downloadpowder-a4e75d587fb6a256da5584328b3dd84a185b5640.zip
powder-a4e75d587fb6a256da5584328b3dd84a185b5640.tar.gz
add #ifdef WIN / #idndef WIN around some lua socket files, for easier visual studio compatibility
Diffstat (limited to 'SConscript')
-rwxr-xr-xSConscript7
1 files changed, 1 insertions, 6 deletions
diff --git a/SConscript b/SConscript
index 693a036..da4d53e 100755
--- a/SConscript
+++ b/SConscript
@@ -267,12 +267,7 @@ sources+=Glob("src/gui/*/*.cpp")
sources+=Glob("src/simulation/elements/*.cpp")
sources+=Glob("src/simulation/tools/*.cpp")
sources+=Glob("src/client/requestbroker/*.cpp")
-sources+=["src/socket/auxiliar.c","src/socket/buffer.c","src/socket/except.c","src/socket/inet.c","src/socket/io.c","src/socket/luasocket.c","src/socket/options.c","src/socket/select.c","src/socket/tcp.c","src/socket/timeout.c","src/socket/udp.c"]
-# looks better than lambdaing files out later
-if(GetOption('win')):
- sources+=["src/socket/wsocket.c"]
-else:
- sources+=["src/socket/usocket.c","src/socket/unix.c"]
+sources+=Glob("src/socket/*.c")
#for source in sources:
# print str(source)