mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 08:29:45 +00:00
FS-10167: Fixed small ISO C compliancy issue for windows build vs linux build of testwebsock
This commit is contained in:
parent
61cdc9af3a
commit
5713f513b6
@ -1,6 +1,10 @@
|
||||
#include <ks.h>
|
||||
#include <tap.h>
|
||||
|
||||
#ifdef _WINDOWS_
|
||||
#undef unlink
|
||||
#define unlink _unlink
|
||||
#endif
|
||||
|
||||
static char v4[48] = "";
|
||||
static char v6[48] = "";
|
||||
@ -276,7 +280,7 @@ int main(void)
|
||||
ok(test_ws(v6, 1));
|
||||
}
|
||||
|
||||
_unlink("./testwebsock.pem");
|
||||
unlink("./testwebsock.pem");
|
||||
ks_shutdown();
|
||||
|
||||
done_testing();
|
||||
|
Loading…
x
Reference in New Issue
Block a user