From 2ac205d1d0aaff43513471b0e185b8a9a2487d9a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 14 Sep 2017 16:23:05 +0300 Subject: Unconditionally add -DPKGCONFIG_IS_STATIC to cc.export.poptions for static library --- libpkgconf/stdinc.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'libpkgconf/stdinc.h') diff --git a/libpkgconf/stdinc.h b/libpkgconf/stdinc.h index 5e22098..c373a9a 100644 --- a/libpkgconf/stdinc.h +++ b/libpkgconf/stdinc.h @@ -16,12 +16,13 @@ #ifndef __STDINC_H #define __STDINC_H -// The problem is that g++ defines this macro by default (in contrast to gcc) -// causing the "redefined macro" warning when this header is (implicitly) -// included into the C++ source file (issue #135 is reported). So we move this -// definition into the buildfile, -// -//#define _GNU_SOURCE +/* + * The problem is that g++ defines this macro by default (in contrast to gcc) + * causing the "redefined macro" warning when this header is (implicitly) + * included into the C++ source file (issue #135 is reported). So we move this + * definition into the buildfile, + */ +/* #define _GNU_SOURCE */ #include #include @@ -41,7 +42,7 @@ * #137 is reported). */ # ifndef NOMINMAX -# define NOMINMAX // No min and max macros. +# define NOMINMAX /* No min and max macros. */ # endif # include -- cgit v1.1