diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-10-15 19:02:10 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-10-15 19:02:10 +0300 |
commit | 1402ef9f02d4271550d23c7b4f205554840721f0 (patch) | |
tree | bda4fc27a717f2853f4b1ade0e61a0d7922adcbd | |
parent | 598b0256a354cb2e65ea240e50662d4378f5462c (diff) |
Fix broken gcc compilation on MacOS
-rw-r--r-- | libpkgconf/config.h | 2 |
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 |