From 571308a94e30f15669c1c5e2df4d7713885e8859 Mon Sep 17 00:00:00 2001 From: Paul Kulchenko Date: Tue, 9 Apr 2013 09:25:40 -0700 Subject: [PATCH] Updated IPV6_V6ONLY to match header files on Windows. --- build-mingw.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-mingw.sh b/build-mingw.sh index 2387ae6..e636c2c 100644 --- a/build-mingw.sh +++ b/build-mingw.sh @@ -1,5 +1,5 @@ LUA=../lua-5.2.1/src/ -BUILD_FLAGS="-Wl,-s -O2 -shared -D LUA_COMPAT_MODULE -D IPV6_V6ONLY=1 -D WINVER=0x0501 -s -I src -I $LUA -L $LUA" +BUILD_FLAGS="-Wl,-s -O2 -shared -D LUA_COMPAT_MODULE -D IPV6_V6ONLY=27 -D WINVER=0x0501 -s -I src -I $LUA -L $LUA" mkdir -p lib/mime lib/socket gcc $BUILD_FLAGS -o "lib/mime/core.dll" src/mime.c -llua \