aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpkgconf/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpkgconf/config.h b/libpkgconf/config.h
index cc09d9c..c6eeb50 100644
--- a/libpkgconf/config.h
+++ b/libpkgconf/config.h
@@ -14,7 +14,7 @@
*
* strl*() are only present on FreeBSD and MacOS.
*/
-#if defined(__FreeBSD__) || defined(__apple_build_version__)
+#if defined(__FreeBSD__) || defined(__APPLE__)
# define HAVE_STRNDUP 1
# define HAVE_STRLCPY 1
# define HAVE_STRLCAT 1