mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 16:58:35 +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 <ks.h>
|
||||||
#include <tap.h>
|
#include <tap.h>
|
||||||
|
|
||||||
|
#ifdef _WINDOWS_
|
||||||
|
#undef unlink
|
||||||
|
#define unlink _unlink
|
||||||
|
#endif
|
||||||
|
|
||||||
static char v4[48] = "";
|
static char v4[48] = "";
|
||||||
static char v6[48] = "";
|
static char v6[48] = "";
|
||||||
@ -276,7 +280,7 @@ int main(void)
|
|||||||
ok(test_ws(v6, 1));
|
ok(test_ws(v6, 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
_unlink("./testwebsock.pem");
|
unlink("./testwebsock.pem");
|
||||||
ks_shutdown();
|
ks_shutdown();
|
||||||
|
|
||||||
done_testing();
|
done_testing();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user