comparison Core/Logging.h @ 2137:595cf22b3e7e

safety checks of macros
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Nov 2016 15:07:50 +0100
parents ddc75c6c712d
children 2dbfdafc2512
comparison
equal deleted inserted replaced
2136:dd609a99d39a 2137:595cf22b3e7e
31 31
32 32
33 #pragma once 33 #pragma once
34 34
35 #include <iostream> 35 #include <iostream>
36
37 #if !defined(ORTHANC_ENABLE_LOGGING)
38 # error The macro ORTHANC_ENABLE_LOGGING must be defined
39 #endif
36 40
37 namespace Orthanc 41 namespace Orthanc
38 { 42 {
39 namespace Logging 43 namespace Logging
40 { 44 {