From f07273d55f0f8d118bcc70b3264ad88344c89abd Mon Sep 17 00:00:00 2001 From: Vasily Levchenko Date: Wed, 12 Jul 2017 22:46:43 +0300 Subject: [PATCH] [debug][test] build fix --- backend.native/tests/interop/basics/cstdio.def | 1 + samples/socket/src/main/c_interop/sockets.def | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend.native/tests/interop/basics/cstdio.def b/backend.native/tests/interop/basics/cstdio.def index e2f7b2d512e..13dc2a82526 100644 --- a/backend.native/tests/interop/basics/cstdio.def +++ b/backend.native/tests/interop/basics/cstdio.def @@ -1,4 +1,5 @@ headers = stdio.h +compilerOpts.osx = -D_ANSI_SOURCE --- diff --git a/samples/socket/src/main/c_interop/sockets.def b/samples/socket/src/main/c_interop/sockets.def index 9d9821313f6..f3daed92c32 100644 --- a/samples/socket/src/main/c_interop/sockets.def +++ b/samples/socket/src/main/c_interop/sockets.def @@ -1,6 +1,5 @@ headers = sys/socket.h sys/errno.h netdb.h stdio.h string.h unistd.h stdlib.h netinet/in.h -excludeDependentModules.osx = true - +compilerOpts.osx = -D_ANSI_SOURCE --- static int interop_errno() {