mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
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)
|
if (WINCE)
|
||||||
list(APPEND LIB_LIST ws2.lib)
|
list(APPEND LIB_LIST ws2.lib)
|
||||||
elseif (WIN32)
|
elseif (WIN32)
|
||||||
list(APPEND LIB_LIST ws2_32.lib)
|
list(APPEND LIB_LIST ws2_32.lib userenv.lib psapi.lib iphlpapi.lib)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (UNIX)
|
if (UNIX)
|
||||||
|
|
|
@ -39,8 +39,8 @@
|
||||||
|
|
||||||
int fork(void)
|
int fork(void)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Sorry Windows doesn't support fork().");
|
fprintf(stderr, "Sorry Windows doesn't support fork().\n");
|
||||||
exit(0);
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue