comparison Plugins/Engine/OrthancPlugins.h @ 2137:595cf22b3e7e

safety checks of macros
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Nov 2016 15:07:50 +0100
parents dd609a99d39a
children a3a65de1840f
comparison
equal deleted inserted replaced
2136:dd609a99d39a 2137:595cf22b3e7e
32 32
33 #pragma once 33 #pragma once
34 34
35 #include "PluginsErrorDictionary.h" 35 #include "PluginsErrorDictionary.h"
36 36
37 #if !defined(ORTHANC_ENABLE_PLUGINS)
38 # error The macro ORTHANC_ENABLE_PLUGINS must be defined
39 #endif
40
41
37 #if ORTHANC_ENABLE_PLUGINS != 1 42 #if ORTHANC_ENABLE_PLUGINS != 1
38 43
39 #include <boost/noncopyable.hpp> 44 #include <boost/noncopyable.hpp>
40 45
41 namespace Orthanc 46 namespace Orthanc