Don't even include signal.h on WASI

Since version 11, wasi-sysroot doesn't ignore it but spits out
an error instead.
This commit is contained in:
Frank Denis
2020-06-04 10:53:49 +02:00
parent 824c8cdf69
commit 2ea21b96e0
4 changed files with 11 additions and 4 deletions
+3 -1
View File
@@ -3,7 +3,9 @@
#include <sys/types.h>
#include <limits.h>
#include <signal.h>
#ifdef HAVE_CATCHABLE_SEGV
# include <signal.h>
#endif
#define TEST_NAME "sodium_utils2"
#include "cmptest.h"
+3 -1
View File
@@ -3,7 +3,9 @@
#include <sys/types.h>
#include <limits.h>
#include <signal.h>
#ifdef HAVE_CATCHABLE_SEGV
# include <signal.h>
#endif
#define TEST_NAME "sodium_utils3"
#include "cmptest.h"