]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
lib/replace: Ensure that __STDC_WANT_LIB_EXT1__ is set to 1
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 10 Aug 2023 02:08:22 +0000 (14:08 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 14 Aug 2023 04:57:34 +0000 (04:57 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/replace/replace.h

index adcb22f8c194eb768662f1e7f695672897c7b020..a6a2b40777f3c932ca6839a08a31998cc295acb1 100644 (file)
@@ -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