Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/Core/HttpServer/MongooseServer.h Mon Aug 28 18:07:03 2017 +0200 +++ b/Core/HttpServer/MongooseServer.h Tue Aug 29 16:49:44 2017 +0200 @@ -33,6 +33,20 @@ #pragma once +#if !defined(ORTHANC_ENABLE_MONGOOSE) +# error Macro ORTHANC_ENABLE_MONGOOSE must be defined to include this file +#endif + +#if !defined(ORTHANC_ENABLE_CIVETWEB) +# error Macro ORTHANC_ENABLE_CIVETWEB must be defined to include this file +#endif + +#if (ORTHANC_ENABLE_MONGOOSE == 0 && \ + ORTHANC_ENABLE_CIVETWEB == 0) +# error Either ORTHANC_ENABLE_MONGOOSE or ORTHANC_ENABLE_CIVETWEB must be set to 1 +#endif + + #include "IIncomingHttpRequestFilter.h" #include "../OrthancException.h"