From e0d8e80b7623f5c657a55468bfd65e9a4f94b992 Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Wed, 17 Feb 2010 14:12:38 +0000 Subject: [PATCH] Add _DARWIN_C_SOURCE define to activate all library features on MacOS --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 0ad9603..7dc21f3 100644 --- a/configure.ac +++ b/configure.ac @@ -34,7 +34,9 @@ AC_HEADER_STDC AC_HEADER_STDBOOL AC_CHECK_HEADERS([stdio.h stdlib.h stdint.h stddef.h stdbool.h]) AC_CHECK_FUNCS(strdup, [AC_DEFINE([_XOPEN_SOURCE], [600], [Enable POSIX extensions if present])]) + AC_DEFINE(_NETBSD_SOURCE, 1, [Define on NetBSD to activate all library features]) +AC_DEFINE(_DARWIN_C_SOURCE, 1, [Define on Darwin to activate all library features]) # Checks for types AC_TYPE_SIZE_T