Mercurial > hg > orthanc
comparison Core/Cache/SharedArchive.h @ 2407:5edec967055e
fix sandboxed builds
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 20 Sep 2017 17:02:27 +0200 |
parents | a3a65de1840f |
children | 878b59270859 |
comparison
equal
deleted
inserted
replaced
2406:f0cfacd0c9b8 | 2407:5edec967055e |
---|---|
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_SANDBOXED) | |
37 # error The macro ORTHANC_SANDBOXED must be defined | |
38 #endif | |
39 | |
40 #if ORTHANC_SANDBOXED == 1 | |
41 # error The class SharedArchive cannot be used in sandboxed environments | |
42 #endif | |
35 | 43 |
36 #include "LeastRecentlyUsedIndex.h" | 44 #include "LeastRecentlyUsedIndex.h" |
37 #include "../IDynamicObject.h" | 45 #include "../IDynamicObject.h" |
38 | 46 |
39 #include <map> | 47 #include <map> |