summaryrefslogtreecommitdiff
path: root/soltools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-04 08:54:46 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-04 08:54:46 +0100
commitc665a1bc0f45aa4a4c679e6f004581168e03f93d (patch)
treebb2645149a8bc50b68880967b2a256ac6159d715 /soltools
parentcd8e720b0602434480e84d492346fa68419c3df0 (diff)
-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." (<https://msdn.microsoft.com/en-us/library/b0084kay.aspx>) 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
Diffstat (limited to 'soltools')
-rw-r--r--soltools/mkdepend/imakemdep.h2
1 files changed, 1 insertions, 1 deletions
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__