windows: changes to build with VS2015

This commit is contained in:
Joel Winarske 2017-02-14 11:17:09 -08:00 committed by Andy Green
parent f2c6e48eb8
commit 238766be6b
2 changed files with 3 additions and 3 deletions

View file

@ -947,7 +947,7 @@ endif()
if (WINCE)
list(APPEND LIB_LIST ws2.lib)
elseif (WIN32)
list(APPEND LIB_LIST ws2_32.lib)
list(APPEND LIB_LIST ws2_32.lib userenv.lib psapi.lib iphlpapi.lib)
endif()
if (UNIX)

View file

@ -39,8 +39,8 @@
int fork(void)
{
fprintf(stderr, "Sorry Windows doesn't support fork().");
exit(0);
fprintf(stderr, "Sorry Windows doesn't support fork().\n");
return 0;
}
#endif