comparison Core/FileStorage/FilesystemStorage.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 FilesystemStorage cannot be used in sandboxed environments
42 #endif
35 43
36 #include "IStorageArea.h" 44 #include "IStorageArea.h"
37 45
38 #include <stdint.h> 46 #include <stdint.h>
39 #include <boost/filesystem.hpp> 47 #include <boost/filesystem.hpp>