Mercurial > hg > orthanc
comparison Core/Pkcs11.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 | 39f4207727db |
comparison
equal
deleted
inserted
replaced
2136:dd609a99d39a | 2137:595cf22b3e7e |
---|---|
30 **/ | 30 **/ |
31 | 31 |
32 | 32 |
33 #pragma once | 33 #pragma once |
34 | 34 |
35 #if !defined(ORTHANC_ENABLE_PKCS11) | |
36 # error The macro ORTHANC_ENABLE_PKCS11 must be defined | |
37 #endif | |
38 | |
39 #if !defined(ORTHANC_ENABLE_SSL) | |
40 # error The macro ORTHANC_ENABLE_SSL must be defined | |
41 #endif | |
42 | |
35 #if ORTHANC_ENABLE_PKCS11 != 1 || ORTHANC_ENABLE_SSL != 1 | 43 #if ORTHANC_ENABLE_PKCS11 != 1 || ORTHANC_ENABLE_SSL != 1 |
36 # error This file cannot be used if OpenSSL or PKCS#11 support is disabled | 44 # error This file cannot be used if OpenSSL or PKCS#11 support is disabled |
37 #endif | 45 #endif |
38 | 46 |
39 | 47 |