From daebe77a2f498817713df37f0bb316db1d82222f Mon Sep 17 00:00:00 2001 From: Philipp Janda Date: Thu, 26 Apr 2018 07:30:08 +0200 Subject: Fix feature test for C11 Annex K (strerror_s). Fixes #41. --- c-api/compat-5.3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c-api/compat-5.3.c') diff --git a/c-api/compat-5.3.c b/c-api/compat-5.3.c index 370027a..bf81673 100644 --- a/c-api/compat-5.3.c +++ b/c-api/compat-5.3.c @@ -37,8 +37,8 @@ #endif /* strerror_r */ #ifndef COMPAT53_HAVE_STRERROR_S -# if defined(_MSC_VER) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || \ - (defined(__STDC_LIB_EXT1__) && __STDC_LIB_EXT1__) +# if defined(_MSC_VER) || (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L && \ + defined(__STDC_LIB_EXT1__) && __STDC_LIB_EXT1__) # define COMPAT53_HAVE_STRERROR_S 1 # else /* not VC++ or C11 */ # define COMPAT53_HAVE_STRERROR_S 0 -- cgit v1.2.3-55-g6feb