summaryrefslogtreecommitdiffhomepage
path: root/src/kernel.c
diff options
context:
space:
mode:
authorSebastián Katzer <[email protected]>2018-06-05 15:59:12 +0200
committerGitHub <[email protected]>2018-06-05 15:59:12 +0200
commite7a46991353b3ab5aa0bc45403b87beacca3c31c (patch)
treec3b68388c8fa7dbccb2258b332898e793bbed0af /src/kernel.c
parentaa5c5de4fde6a3c9f0ef8e1c8b7fc5f25f3770da (diff)
downloadmruby-e7a46991353b3ab5aa0bc45403b87beacca3c31c.tar.gz
mruby-e7a46991353b3ab5aa0bc45403b87beacca3c31c.zip
Declare inet_ntop and inet_pton as static
To avoid conflicts with multiple definitions of inet_ntop and inet_pton if compiled with # define _WIN32_WINNT _WIN32_WINNT_VISTA C:/mingw-w64/x86_64-7.2.0-posix-seh-rt_v5-rev1/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/lib/../lib/libWs2_32.a(dghfs00169.o):(.text+0x0): multiple definition of `inet_pton' 722C:/projects/iss/mruby/build/host/lib/libmruby.a(socket.o):C:/projects/iss/mruby/mrbgems/mruby-socket/src/socket.c:80: first defined here define _WIN32_WINNT _WIN32_WINNT_VISTA
Diffstat (limited to 'src/kernel.c')
0 files changed, 0 insertions, 0 deletions