avoid unneed preprocessor redefinition
Limit a Mac-specific declaration that isn't needed anyway. Related to #2797
This commit is contained in:
parent
81bdbb19e9
commit
a8d5a4f2f4
|
@ -57,7 +57,9 @@ extern "C" {
|
|||
|
||||
#include <inttypes.h>
|
||||
#ifndef UNW_ARM
|
||||
# define _XOPEN_SOURCE /* needed for Mac OS X */
|
||||
# ifdef __APPLE__
|
||||
# define _XOPEN_SOURCE
|
||||
# endif
|
||||
# define __USE_GNU
|
||||
# include <ucontext.h>
|
||||
# undef __USE_GNU
|
||||
|
|
Loading…
Reference in New Issue
Block a user