aboutsummaryrefslogtreecommitdiffhomepage
path: root/osx
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-09-12 16:27:43 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-09-21 16:41:25 -0700
commitf29647172683e1f34cb944395e2dcbf48efa9123 (patch)
tree5e6f69dd4a8adbe38319e9623970fbadbe1fc82e /osx
parentb2e8967e947fc4b3e554c493d4575bb14319d2ea (diff)
Integrate pcre2 into Xcode build
Diffstat (limited to 'osx')
-rw-r--r--osx/config.h12
1 files changed, 9 insertions, 3 deletions
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 <regex.h> header file. */
-#define HAVE_REGEX_H 1
-
/* Define to 1 if you have the <siginfo.h> 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