Mercurial > hg > orthanc
comparison Core/HttpServer/MongooseServer.cpp @ 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 |
---|---|
47 #include <iostream> | 47 #include <iostream> |
48 #include <string.h> | 48 #include <string.h> |
49 #include <stdio.h> | 49 #include <stdio.h> |
50 #include <boost/thread.hpp> | 50 #include <boost/thread.hpp> |
51 | 51 |
52 #if !defined(ORTHANC_ENABLE_SSL) | |
53 # error The macro ORTHANC_ENABLE_SSL must be defined | |
54 #endif | |
55 | |
52 #if ORTHANC_ENABLE_SSL == 1 | 56 #if ORTHANC_ENABLE_SSL == 1 |
53 #include <openssl/opensslv.h> | 57 #include <openssl/opensslv.h> |
54 #endif | 58 #endif |
55 | 59 |
56 #define ORTHANC_REALM "Orthanc Secure Area" | 60 #define ORTHANC_REALM "Orthanc Secure Area" |