diff --git a/log.hpp b/log.hpp index 10b6babb24621cecc986530e8851622480e14357..4e77cfc9402b1f70f5ca813c9691432da04d5627 100644 --- a/log.hpp +++ b/log.hpp @@ -30,6 +30,11 @@ #undef ERROR #endif +#ifdef DEBUG +#pragma message (": warning Macro_pollution: You MUST NOT define the macro `DEBUG`. I've undefined it here.") +#undef DEBUG +#endif + namespace rlib { using namespace rlib::literals;