Skip to content

Commit 3d950e8

Browse files
committed
NOMINMAX seems necessary after force including winsock2.h and ws2tcpip.h
1 parent b0cbed0 commit 3d950e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/scripts/python_wheel_windows_build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ cmake ^
7171
-DARROW_BUILD_TESTS=OFF ^
7272
-DARROW_COMPUTE=ON ^
7373
-DARROW_CSV=ON ^
74-
-DARROW_CXXFLAGS="/MP /FI\"winsock2.h\" /FI\"ws2tcpip.h\"" ^
74+
-DARROW_CXXFLAGS="/MP /DNOMINMAX /FI\"winsock2.h\" /FI\"ws2tcpip.h\"" ^
7575
-DARROW_DATASET=%ARROW_DATASET% ^
7676
-DARROW_DEPENDENCY_SOURCE=VCPKG ^
7777
-DARROW_DEPENDENCY_USE_SHARED=OFF ^

0 commit comments

Comments
 (0)