comparison OrthancServer/FromDcmtkBridge.cpp @ 2275:e7a590cf72f9

fix for FreeBSD
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Apr 2017 10:35:05 +0200
parents a3a65de1840f
children 9f3414878c02
comparison
equal deleted inserted replaced
2274:bfcf5a7f92e7 2275:e7a590cf72f9
205 else 205 else
206 { 206 {
207 LOG(INFO) << "The dictionary of private tags has not been loaded"; 207 LOG(INFO) << "The dictionary of private tags has not been loaded";
208 } 208 }
209 209
210 #elif defined(__linux__) || defined(__FreeBSD_kernel__) 210 #elif defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__FreeBSD__)
211 std::string path = DCMTK_DICTIONARY_DIR; 211 std::string path = DCMTK_DICTIONARY_DIR;
212 212
213 const char* env = std::getenv(DCM_DICT_ENVIRONMENT_VARIABLE); 213 const char* env = std::getenv(DCM_DICT_ENVIRONMENT_VARIABLE);
214 if (env != NULL) 214 if (env != NULL)
215 { 215 {