From f29647172683e1f34cb944395e2dcbf48efa9123 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 12 Sep 2015 16:27:43 -0700 Subject: Integrate pcre2 into Xcode build --- osx/config.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'osx') diff --git a/osx/config.h b/osx/config.h index 2d3ef3eb..7747dbf5 100644 --- a/osx/config.h +++ b/osx/config.h @@ -80,9 +80,6 @@ /* Define to 1 if realpath accepts null for its second argument. */ #define HAVE_REALPATH_NULL 1 -/* Define to 1 if you have the header file. */ -#define HAVE_REGEX_H 1 - /* Define to 1 if you have the header file. */ /* #undef HAVE_SIGINFO_H */ @@ -245,6 +242,9 @@ /* Perform string translations with gettext */ /* #undef USE_GETTEXT */ +/* The size of wchar_t in bits. */ +#define WCHAR_T_BITS 32 + /* Macro to enable additional prototypes under BSD */ /* #undef _NETBSD_SOURCE */ @@ -255,9 +255,15 @@ /* #undef __EXTENSIONS__ */ #if __GNUC__ >= 3 +#ifndef __warn_unused #define __warn_unused __attribute__ ((warn_unused_result)) +#endif +#ifndef __sentinel #define __sentinel __attribute__ ((sentinel)) +#endif +#ifndef __packed #define __packed __attribute__ ((packed)) +#endif #else #define __warn_unused #define __sentinel -- cgit v1.2.3