comparison OrthancServer/FromDcmtkBridge.cpp @ 2364:ae50eccd41b7

compilation succeeds on OpenBSD
author jodogne
date Mon, 21 Aug 2017 16:28:53 +0200
parents 17e8e8e1ff3d
children b8969010b534
comparison
equal deleted inserted replaced
2363:f8ef157f2d73 2364:ae50eccd41b7
207 else 207 else
208 { 208 {
209 LOG(INFO) << "The dictionary of private tags has not been loaded"; 209 LOG(INFO) << "The dictionary of private tags has not been loaded";
210 } 210 }
211 211
212 #elif defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__FreeBSD__) 212 #elif defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__FreeBSD__) || defined(__OpenBSD__)
213 std::string path = DCMTK_DICTIONARY_DIR; 213 std::string path = DCMTK_DICTIONARY_DIR;
214 214
215 const char* env = std::getenv(DCM_DICT_ENVIRONMENT_VARIABLE); 215 const char* env = std::getenv(DCM_DICT_ENVIRONMENT_VARIABLE);
216 if (env != NULL) 216 if (env != NULL)
217 { 217 {