Skip to content

Commit d243b74

Browse files
committed
win32: do not declare PosixSignals enum on MinGW
1 parent 22669e0 commit d243b74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/trusted/service_runtime/nacl_signal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ struct NaClExceptionFrame;
5858
#define NACL_ABI_WIFSIGNALED(status) ((((status) + 1) & 0x7f) > 1)
5959
#define NACL_ABI_W_EXITCODE(ret, sig) ((((ret) & 0xff) << 8) + ((sig) & 0x7f))
6060

61-
#if NACL_WINDOWS
61+
#if NACL_WINDOWS && defined(_MSC_VER)
6262
enum PosixSignals {
6363
SIGINT = 2,
6464
SIGQUIT = 3,

0 commit comments

Comments
 (0)