diff options
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> |