From c665a1bc0f45aa4a4c679e6f004581168e03f93d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 4 Mar 2016 08:54:46 +0100 Subject: -Werror,-Wundef For MSVC/clang-cl: "__STDC__: Indicates conformance with the ANSI/ISO C99 tandard. Defined as the integer literal constant 1 only if the /Za compiler option is given and you are not compiling C++ code; otherwise is undefined." () Presumably fine to just replace #if with #ifdef here (as is used in all the other cases surrounding it), and not care whether it actually expands to true. Change-Id: Ie58c76d7e72321b06a11a370fd28221e85fcf871 --- soltools/mkdepend/imakemdep.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'soltools/mkdepend') diff --git a/soltools/mkdepend/imakemdep.h b/soltools/mkdepend/imakemdep.h index 6211da6c322d..36fd5b8666e4 100644 --- a/soltools/mkdepend/imakemdep.h +++ b/soltools/mkdepend/imakemdep.h @@ -566,7 +566,7 @@ struct pair predefs[] = { #ifdef __GNUC__ {"__GNUC__", "1", NULL}, #endif -#if __STDC__ +#ifdef __STDC__ {"__STDC__", "1", NULL}, #endif #ifdef __HIGHC__ -- cgit v1.2.3