]> granicus.if.org Git - icinga2/commitdiff
Fix _DEBUG define
authorGunnar Beutner <gunnar.beutner@netways.de>
Tue, 11 Nov 2014 15:40:27 +0000 (16:40 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Tue, 11 Nov 2014 15:40:27 +0000 (16:40 +0100)
refs #7634

lib/base/i2-base.hpp

index 06642709cfee7342b826bbc8afee3044bb81e6c3..b837122ce6d8e80debd393be5321f94c36aa268b 100644 (file)
 #      pragma warning(disable:4251)
 #      pragma warning(disable:4275)
 #      pragma warning(disable:4345)
+#else /* _MSC_VER */
+#      ifndef NDEBUG
+#              define _DEBUG
+#      endif /* NDEBUG */
 #endif /* _MSC_VER */
 
-#ifndef NDEBUG
-#      define _DEBUG
-#endif /* NDEBUG */
-
 #include "config.h"
 
 #ifdef _WIN32