From: malaterre Date: Sat, 22 Jan 2005 22:56:22 +0000 (+0000) Subject: BUG: provide a default implementation for GetcurrentThreadID. X-Git-Tag: Version1.0.bp~211 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=c907ef7411a7ddef4192414a95fb7909798e5d02;p=gdcm.git BUG: provide a default implementation for GetcurrentThreadID. --- diff --git a/src/gdcmUtil.cxx b/src/gdcmUtil.cxx index 9c105780..9e983e07 100644 --- a/src/gdcmUtil.cxx +++ b/src/gdcmUtil.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmUtil.cxx,v $ Language: C++ - Date: $Date: 2005/01/22 22:50:12 $ - Version: $Revision: 1.119 $ + Date: $Date: 2005/01/22 22:56:22 $ + Version: $Revision: 1.120 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -818,6 +818,9 @@ unsigned int Util::GetCurrentThreadID() #endif #ifdef __sun return (unsigned int)thr_self(); +#else + //default implementation + return 0; #endif }