add #ifdef WIN / #idndef WIN around some lua socket files, for easier visual studio compatibility

This commit is contained in:
jacob1
2013-05-04 19:19:23 -04:00
parent 73fe68a3eb
commit a4e75d587f
7 changed files with 13 additions and 6 deletions

View File

@@ -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)