]> granicus.if.org Git - check/commitdiff
Fix missing macro undefinition
authorMikko Johannes Koivunalho <mikko.koivunalho@iki.fi>
Sun, 1 Sep 2019 18:44:42 +0000 (20:44 +0200)
committerMikko Johannes Koivunalho <mikko.koivunalho@iki.fi>
Sun, 8 Sep 2019 07:31:04 +0000 (09:31 +0200)
If we don't undefine the macro, it will enter the user's namespace.
This macro is only for our internal use.
Otherwise it would have the "CK_" prefix.

Signed-off-by: Mikko Johannes Koivunalho <mikko.koivunalho@iki.fi>
src/check.h.in

index 3e12bd08db9c3778a384f3b66407aefae243a7e1..ac86d9bbea2d79ca6562e5eb3fa22821161e881d 100644 (file)
@@ -74,6 +74,8 @@ CK_CPPSTART
 #define CK_ATTRIBUTE_NORETURN
 #endif /* GCC 2.5 */
 
+#undef GCC_VERSION_AT_LEAST
+
 #include <sys/types.h>
 
 #if defined(_MSC_VER)