From: malaterre Date: Mon, 22 Aug 2005 18:11:34 +0000 (+0000) Subject: COMP: Fix compilation with SWIG, GDCM_LEGACY* options do not affect SWIG generated... X-Git-Tag: Version1.2.bp~214 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=59948165c33389ddf140d05f1b5ae841644c1902;p=gdcm.git COMP: Fix compilation with SWIG, GDCM_LEGACY* options do not affect SWIG generated interface --- diff --git a/src/gdcmDebug.h b/src/gdcmDebug.h index f5763326..2d9cc329 100644 --- a/src/gdcmDebug.h +++ b/src/gdcmDebug.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDebug.h,v $ Language: C++ - Date: $Date: 2005/08/01 14:33:29 $ - Version: $Revision: 1.40 $ + Date: $Date: 2005/08/22 18:11:34 $ + Version: $Revision: 1.41 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -204,7 +204,7 @@ public: #if defined(GDCM_LEGACY_REMOVE) // Remove legacy methods completely. # define GDCM_LEGACY(method) -#elif defined(GDCM_LEGACY_SILENT) || defined(SWIGPYTHON) +#elif defined(GDCM_LEGACY_SILENT) || defined(SWIG) // Provide legacy methods with no warnings. # define GDCM_LEGACY(method) method #else