]> Creatis software - gdcm.git/commitdiff
COMP: Fix compilation with SWIG, GDCM_LEGACY* options do not affect SWIG generated...
authormalaterre <malaterre>
Mon, 22 Aug 2005 18:11:34 +0000 (18:11 +0000)
committermalaterre <malaterre>
Mon, 22 Aug 2005 18:11:34 +0000 (18:11 +0000)
src/gdcmDebug.h

index f57633265a512c2b68f40a2319d3f877e087ef64..2d9cc329a18da53e12799a9e73a43900c7cb4183 100644 (file)
@@ -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