summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2017-02-23 09:48:49 -0500
committerRich Salz <rsalz@openssl.org>2017-02-23 09:48:49 -0500
commit4c3376ec2747ebd69b3da68d2d18b155fac5c03f (patch)
tree4cf4453717d50777a7df7c21904d813bfd6b0987 /test
parent6db2b1490e5da1255f4158dc8c2d4a2dd87cbe7b (diff)
Add -Wundef to strict-warnings
Avoid a -Wundef warning in o_str.c Avoid a -Wundef warning in testutil.h Include internal/cryptlib.h before openssl/stack.h to avoid use of undefined symbol OPENSSL_API_COMPAT. Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2709)
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 14b7b09800..aaaee2780e 100644
--- a/test/testutil.h
+++ b/test/testutil.h
@@ -56,7 +56,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