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…
Reference in New Issue