changeset 2275:e7a590cf72f9

fix for FreeBSD
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Apr 2017 10:35:05 +0200
parents bfcf5a7f92e7
children b85f68a98474
files OrthancServer/FromDcmtkBridge.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/FromDcmtkBridge.cpp	Fri Mar 17 16:09:13 2017 +0100
+++ b/OrthancServer/FromDcmtkBridge.cpp	Tue Apr 11 10:35:05 2017 +0200
@@ -207,7 +207,7 @@
         LOG(INFO) << "The dictionary of private tags has not been loaded";
       }
 
-#elif defined(__linux__) || defined(__FreeBSD_kernel__)
+#elif defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__FreeBSD__)
       std::string path = DCMTK_DICTIONARY_DIR;
 
       const char* env = std::getenv(DCM_DICT_ENVIRONMENT_VARIABLE);