From 55d4f3efac63aad08e8e403515d3c374845ce365 Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Thu, 31 Oct 2019 16:30:27 +0300 Subject: [PATCH] Expose more POSIX functions on Mingw. --- platformLibs/src/platform/mingw/posix.def | 1 + 1 file changed, 1 insertion(+) diff --git a/platformLibs/src/platform/mingw/posix.def b/platformLibs/src/platform/mingw/posix.def index d2895122a16..46ff5f2d1d9 100644 --- a/platformLibs/src/platform/mingw/posix.def +++ b/platformLibs/src/platform/mingw/posix.def @@ -5,6 +5,7 @@ headers = assert.h complex.h ctype.h dirent.h errno.h fcntl.h \ setjmp.h signal.h stdint.h stdio.h stdlib.h string.h \ time.h uchar.h unistd.h utime.h wchar.h wctype.h noStringConversion = send sendto recv +compilerOpts = -DUNICODE -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DWINAPI_FAMILY=3 -DOEMRESOURCE -D_POSIX_C_SOURCE=1 linkerOpts = -lWs2_32 ---