Define sighandler_t only is _GNU_SOURCE is not defined.
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
#include <cerrno>
|
||||
#include <csignal>
|
||||
|
||||
#ifndef sighandler_t
|
||||
#ifndef _GNU_SOURCE
|
||||
typedef typeof(void(int)) *sighandler_t;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user