]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[apr] error: use of undeclared identifier 'NSIG' 1213/head
authorAndrey Volk <andywolk@gmail.com>
Fri, 28 May 2021 18:26:56 +0000 (21:26 +0300)
committerAndrey Volk <andywolk@gmail.com>
Wed, 2 Jun 2021 22:19:39 +0000 (01:19 +0300)
libs/apr/include/apr_general.h

index 42eec83ce456bccbdbaa11190ed279f1c73d881d..3a956288e3bc92ffde57786c82a6d9faa79bdb99 100644 (file)
 #include "apr_pools.h"
 #include "apr_errno.h"
 
+#if !defined(_ANSI_SOURCE) && defined(_DARWIN_C_SOURCE)
+#define NSIG __DARWIN_NSIG
+#endif
+
 #if APR_HAVE_SIGNAL_H
 #include <signal.h>
 #endif