From 7c449afbf8e42efd4fc164011371c7d64cb9a351 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Fri, 28 Dec 2018 11:47:46 -0600 Subject: [PATCH] Fix lib/roken test macro redefinition --- lib/roken/strpftime-test.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/roken/strpftime-test.h b/lib/roken/strpftime-test.h index 5f9b23fda..157c77651 100644 --- a/lib/roken/strpftime-test.h +++ b/lib/roken/strpftime-test.h @@ -42,7 +42,13 @@ * these evil hacks */ +#ifdef strftime +#undef strftime +#endif #define strftime test_strftime +#ifdef strptime +#undef strptime +#endif #define strptime test_strptime ROKEN_LIB_FUNCTION size_t ROKEN_LIB_CALL