summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2017-02-22 21:40:41 +0100
committerAndy Polyakov <appro@openssl.org>2017-02-23 16:07:21 +0100
commit0b8c12f57a63b895b9192846f79ce73db0153c02 (patch)
tree491d9148c687f621e710d538d2899db9543612c4 /test
parent56fbd5cff879a1d06e6b2023f43aebecc75fde2b (diff)
Add -Wundef to --strict-warnings options. Fix some warnings.
Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2714)
Diffstat (limited to 'test')
-rw-r--r--test/testutil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testutil.h b/test/testutil.h
index 75f0c8ae01..e40b37ed6e 100644
--- a/test/testutil.h
+++ b/test/testutil.h
@@ -103,7 +103,7 @@
* TEST_CASE_NAME is defined as the name of the test case function where
* possible; otherwise we get by with the file name and line number.
*/
-# if __STDC_VERSION__ < 199901L
+# if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L
# if defined(_MSC_VER)
# define TEST_CASE_NAME __FUNCTION__
# else