windows: changes to build with VS2015
This commit is contained in:
parent
f2c6e48eb8
commit
238766be6b
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue