Move #ifdef up

This commit is contained in:
Frank Denis 2017-09-15 10:19:34 +02:00
parent b31a3f247e
commit c6aa04108e

View File

@ -2,7 +2,8 @@
#define TEST_NAME "misuse" #define TEST_NAME "misuse"
#include "cmptest.h" #include "cmptest.h"
#include <signal.h> #if defined(SIGABRT) && (defined(__APPLE__) || defined(__OpenBSD__))
# include <signal.h>
static void static void
sigabrt_handler_6(int sig) sigabrt_handler_6(int sig)
@ -63,7 +64,6 @@ sigabrt_handler_1(int sig)
exit(1); exit(1);
} }
#if defined(SIGABRT) && (defined(__APPLE__) || defined(__OpenBSD__))
int int
main(void) main(void)
{ {