From d1a6a052e5f78ee08f9d714de6238db6d915cb0e Mon Sep 17 00:00:00 2001 From: Alwin Esch Date: Tue, 6 Oct 2020 20:25:20 +0200 Subject: [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. --- cmake/platform/windows/defines.txt | 2 +- cmake/platform/windowsstore/defines.txt | 2 +- 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 -- cgit v1.2.3