diff options
author | IBNobody <ibnobody@gmail.com> | 2016-05-24 17:55:46 -0500 |
---|---|---|
committer | IBNobody <ibnobody@gmail.com> | 2016-05-24 17:55:46 -0500 |
commit | 76e36a787a58ad0e72fac579e4a02aa66ce26be1 (patch) | |
tree | 22eb10d93b95cfb52560a91450a29bd9aabdbc61 /tmk_core/common/nodebug.h | |
parent | 35d7081899df3a486b9b5785c7e8ec9481195848 (diff) | |
parent | d66aa0abf96b5e887250cf0a7fa5e575f18c5a91 (diff) |
Merge remote-tracking branch 'remotes/jackhumbert/master'
Diffstat (limited to 'tmk_core/common/nodebug.h')
-rw-r--r-- | tmk_core/common/nodebug.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tmk_core/common/nodebug.h b/tmk_core/common/nodebug.h index 93309ada47..5e18656e5b 100644 --- a/tmk_core/common/nodebug.h +++ b/tmk_core/common/nodebug.h @@ -16,10 +16,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef NODEBUG_H -#define NODEBUG_H 1 +#define NODEBUG_H -#define NO_DEBUG -#include "debug.h" -#undef NO_DEBUG +#ifndef NO_DEBUG + #define NO_DEBUG + #include "debug.h" + #undef NO_DEBUG +#else + #include "debug.h" +#endif #endif |