From dc29618857917db4ad291559fb50eef211cc8e25 Mon Sep 17 00:00:00 2001 From: Sergey Bogolepov Date: Tue, 31 Aug 2021 14:06:25 +0700 Subject: [PATCH] [K/N] Fix KT-48523 --- kotlin-native/platformLibs/src/platform/mingw/posix.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kotlin-native/platformLibs/src/platform/mingw/posix.def b/kotlin-native/platformLibs/src/platform/mingw/posix.def index 46ff5f2d1d9..bc4315934fd 100644 --- a/kotlin-native/platformLibs/src/platform/mingw/posix.def +++ b/kotlin-native/platformLibs/src/platform/mingw/posix.def @@ -6,7 +6,7 @@ headers = assert.h complex.h ctype.h dirent.h errno.h fcntl.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 +linkerOpts = -lws2_32 --- // Wrapper to access errno variable.