From 1402ef9f02d4271550d23c7b4f205554840721f0 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sun, 15 Oct 2017 19:02:10 +0300 Subject: Fix broken gcc compilation on MacOS --- libpkgconf/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1