aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-10-15 19:02:10 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-10-15 19:02:10 +0300
commit1402ef9f02d4271550d23c7b4f205554840721f0 (patch)
treebda4fc27a717f2853f4b1ade0e61a0d7922adcbd
parent598b0256a354cb2e65ea240e50662d4378f5462c (diff)
Fix broken gcc compilation on MacOS
-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