X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=windows%2Fconfig-compiler.h;h=bd453134d6fc8147ed5b1adf857b17acefc28dc6;hp=496442d01fa7b22eca216ac5d7f15ba440ca65b7;hb=cb555a94fa5188122569ed3803c463f27ccd0261;hpb=86395b297b58c8c9b43d7ca8c42b831d4926dac6 diff --git a/windows/config-compiler.h b/windows/config-compiler.h index 496442d0..bd453134 100644 --- a/windows/config-compiler.h +++ b/windows/config-compiler.h @@ -1,5 +1,5 @@ /* Support for various Windows compilation environments. - Copyright (C) 2005, 2007 Free Software Foundation, Inc. + Copyright (C) 2005, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GNU Wget. @@ -83,6 +83,7 @@ as that of the covered work. */ /* MinGW and GCC support some POSIX and C99 features. */ #define HAVE_INTTYPES_H 1 +#define HAVE_STDINT_H 1 #define HAVE__BOOL 1 #undef SIZEOF_LONG_LONG /* avoid redefinition warning */ @@ -128,6 +129,7 @@ as that of the covered work. */ #if _MSC_VER >= 1400 #pragma warning ( disable : 4996 ) #define _CRT_SECURE_NO_DEPRECATE +#define _CRT_SECURE_NO_WARNINGS #endif @@ -206,8 +208,13 @@ as that of the covered work. */ #define HAVE_STDINT_H 1 #define HAVE_INTTYPES_H 1 -/* Watcom 1.6 do have , but definition of '_Bool' is missing! */ -/* #define HAVE_STDBOOL_H 1 */ +/* OpenWatcom 1.6 do have , but definition of '_Bool' is missing! */ +/* This was fixed in OpenWatcom 1.7 */ +#if __WATCOMC__ >= 1270 +#define HAVE_STDBOOL_H 1 +#define HAVE__BOOL 1 +#endif + #define HAVE_STRTOLL 1 #define HAVE_UINT32_T 1 #undef HAVE_UTIME_H