FS-10167: Fixed small ISO C compliancy issue for windows build vs linux build of testwebsock

This commit is contained in:
Shane Bryldt 2017-03-28 16:07:01 -05:00
parent 61cdc9af3a
commit 5713f513b6
1 changed files with 12 additions and 8 deletions

View File

@ -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();