diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-09-14 16:23:05 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-09-14 16:23:05 +0300 |
commit | 2ac205d1d0aaff43513471b0e185b8a9a2487d9a (patch) | |
tree | c9fbc68c060994d21e21fd259192e2ff3e6fdef9 /libpkgconf/stdinc.h | |
parent | 5433a067a86957c1a14396d63f3e35eaeef1197d (diff) |
Unconditionally add -DPKGCONFIG_IS_STATIC to cc.export.poptions for static library
Diffstat (limited to 'libpkgconf/stdinc.h')
-rw-r--r-- | libpkgconf/stdinc.h | 15 |
1 files changed, 8 insertions, 7 deletions
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 <ctype.h> #include <stdio.h> @@ -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 <windows.h> |