From: Joseph Sutton Date: Thu, 10 Aug 2023 02:08:22 +0000 (+1200) Subject: lib/replace: Ensure that __STDC_WANT_LIB_EXT1__ is set to 1 X-Git-Tag: tevent-0.16.0~1033 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a643ac45c12d36e6f4a8ec6699ca0456aaf245a6;p=thirdparty%2Fsamba.git lib/replace: Ensure that __STDC_WANT_LIB_EXT1__ is set to 1 Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/lib/replace/replace.h b/lib/replace/replace.h index adcb22f8c19..a6a2b40777f 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -41,7 +41,7 @@ * As it's also needed when Python.h is the first header we * require a global -D__STDC_WANT_LIB_EXT1__=1 */ -#ifndef __STDC_WANT_LIB_EXT1__ +#if __STDC_WANT_LIB_EXT1__ != 1 #error -D__STDC_WANT_LIB_EXT1__=1 required #endif