comparison Core/HttpServer/MongooseServer.h @ 2380:96b3ec054b69

reorganization in macros
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 29 Aug 2017 16:49:44 +0200
parents a3a65de1840f
children 878b59270859
comparison
equal deleted inserted replaced
2379:4900688827a8 2380:96b3ec054b69
30 * along with this program. If not, see <http://www.gnu.org/licenses/>. 30 * along with this program. If not, see <http://www.gnu.org/licenses/>.
31 **/ 31 **/
32 32
33 33
34 #pragma once 34 #pragma once
35
36 #if !defined(ORTHANC_ENABLE_MONGOOSE)
37 # error Macro ORTHANC_ENABLE_MONGOOSE must be defined to include this file
38 #endif
39
40 #if !defined(ORTHANC_ENABLE_CIVETWEB)
41 # error Macro ORTHANC_ENABLE_CIVETWEB must be defined to include this file
42 #endif
43
44 #if (ORTHANC_ENABLE_MONGOOSE == 0 && \
45 ORTHANC_ENABLE_CIVETWEB == 0)
46 # error Either ORTHANC_ENABLE_MONGOOSE or ORTHANC_ENABLE_CIVETWEB must be set to 1
47 #endif
48
35 49
36 #include "IIncomingHttpRequestFilter.h" 50 #include "IIncomingHttpRequestFilter.h"
37 51
38 #include "../OrthancException.h" 52 #include "../OrthancException.h"
39 53