diff options
author | Neil Conway | 2007-01-26 17:45:42 +0000 |
---|---|---|
committer | Neil Conway | 2007-01-26 17:45:42 +0000 |
commit | 8ff2bccee31a7be12f653bc533b3e76c052534f8 (patch) | |
tree | f56dcf47c08037f04974372492ce5a660d303472 /src/include | |
parent | 8924c568202122075ae666e8815bc2960496754c (diff) |
Squelch some VC++ compiler warnings. Mark float literals with the "f"
suffix, to distinguish them from doubles. Make some function declarations
and definitions use the "const" qualifier for arguments consistently.
Ignore warning 4102 ("unreferenced label"), because such warnings
are always emitted by bison-generated code. Patch from Magnus Hagander.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/pg_config.h.win32 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32 index bffdae48fe8..9f3c1ac8699 100644 --- a/src/include/pg_config.h.win32 +++ b/src/include/pg_config.h.win32 @@ -366,7 +366,9 @@ #define HAVE_STRDUP 1 /* Define to 1 if you have the `strerror' function. */ +#ifndef HAVE_STRERROR #define HAVE_STRERROR 1 +#endif /* Define to 1 if you have the `strerror_r' function. */ /* #undef HAVE_STRERROR_R */ |