1 --- 3rdParty/LibMiniUPnPc/SConscript.orig 2016-09-07 10:29:12.251340787 +0200
2 +++ 3rdParty/LibMiniUPnPc/SConscript 2016-09-07 10:29:49.165342691 +0200
4 if myenv["PLATFORM"] == "win32":
5 myenv.Append(CCFLAGS = ["-DWIN32", "-D_WIN32_WINNT=0x0501"])
7 - if myenv["PLATFORM"] != "win32" and myenv["PLATFORM"] != "darwin":
8 - conf = Configure(conf_env)
9 - if conf.CheckTypeSize("struct ip_mreqn", includes="#include <netinet/in.h>") == 0:
10 - myenv.Append(CCFLAGS = ["-DNEED_STRUCT_IP_MREQN"])
12 + #if myenv["PLATFORM"] != "win32" and myenv["PLATFORM"] != "darwin":
13 + # conf = Configure(conf_env)
14 + # if conf.CheckTypeSize("struct ip_mreqn", includes="#include <netinet/in.h>") == 0:
15 + # myenv.Append(CCFLAGS = ["-DNEED_STRUCT_IP_MREQN"])
18 myenv.WriteVal("src/miniupnpc/miniupnpcstrings.h", myenv.Value(