diff Orthanc/Core/FileStorage/FilesystemStorage.h @ 172:330ecfd96aec

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 10 Oct 2017 12:53:46 +0200
parents 5dc54316d68b
children dd1ad819ca33
line wrap: on
line diff
--- a/Orthanc/Core/FileStorage/FilesystemStorage.h	Thu Aug 24 19:49:20 2017 +0200
+++ b/Orthanc/Core/FileStorage/FilesystemStorage.h	Tue Oct 10 12:53:46 2017 +0200
@@ -33,6 +33,14 @@
 
 #pragma once
 
+#if !defined(ORTHANC_SANDBOXED)
+#  error The macro ORTHANC_SANDBOXED must be defined
+#endif
+
+#if ORTHANC_SANDBOXED == 1
+#  error The class FilesystemStorage cannot be used in sandboxed environments
+#endif
+
 #include "IStorageArea.h"
 
 #include <stdint.h>