aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlwin Esch <alwin.esch@web.de>2020-10-06 20:25:20 +0200
committerAlwin Esch <alwin.esch@web.de>2020-10-06 20:25:20 +0200
commitd1a6a052e5f78ee08f9d714de6238db6d915cb0e (patch)
treec04cd508004f04a520097f0dc9bba9b6bd76459e
parent06012be2b7c4bcbd9e9a464010d3bdada6745cf8 (diff)
[build][windows] remove -D_WINSOCKAPI_ as can in conflict
This brings problems by e.g. https://think-async.com/Asio/ as this need to define byself.
-rw-r--r--cmake/platform/windows/defines.txt2
-rw-r--r--cmake/platform/windowsstore/defines.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmake/platform/windows/defines.txt b/cmake/platform/windows/defines.txt
index 1a7609a27c..137a3d64ee 100644
--- a/cmake/platform/windows/defines.txt
+++ b/cmake/platform/windows/defines.txt
@@ -1 +1 @@
--DTARGET_WINDOWS -DTARGET_WINDOWS_DESKTOP -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS -D_WINSOCKAPI_ \ No newline at end of file
+-DTARGET_WINDOWS -DTARGET_WINDOWS_DESKTOP -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS \ No newline at end of file
diff --git a/cmake/platform/windowsstore/defines.txt b/cmake/platform/windowsstore/defines.txt
index e962feb24d..09e1b082ef 100644
--- a/cmake/platform/windowsstore/defines.txt
+++ b/cmake/platform/windowsstore/defines.txt
@@ -1 +1 @@
--DTARGET_WINDOWS -DTARGET_WINDOWS_STORE -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS -D_WINSOCKAPI_ \ No newline at end of file
+-DTARGET_WINDOWS -DTARGET_WINDOWS_STORE -DNOMINMAX -D_CRT_SECURE_NO_WARNINGS \ No newline at end of file