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 ---