]> Creatis software - gdcm.git/commitdiff
BUG: It is official I really need a brain
authormalaterre <malaterre>
Fri, 9 Nov 2007 17:53:19 +0000 (17:53 +0000)
committermalaterre <malaterre>
Fri, 9 Nov 2007 17:53:19 +0000 (17:53 +0000)
src/gdcmSegmentedPalette.h

index 452462e84318535e55acece2328eee51423ab5a3..84f458ca16218108f3dd0ac82b865ce04754a88c 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmSegmentedPalette.h,v $
   Language:  C++
-  Date:      $Date: 2007/11/09 16:11:18 $
-  Version:   $Revision: 1.18 $
+  Date:      $Date: 2007/11/09 17:53:19 $
+  Version:   $Revision: 1.19 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -108,7 +108,7 @@ namespace GDCM_NAME_SPACE
     template <typename EntryType>
     class DiscreteSegment : public Segment<EntryType> {
     public:
-#if defined(__sun__)
+#if !defined(__sun__)
         typedef typename Segment<EntryType>::SegmentMap SegmentMap;
 #endif
         DiscreteSegment(const EntryType* first)
@@ -125,7 +125,7 @@ namespace GDCM_NAME_SPACE
     template <typename EntryType>
     class LinearSegment : public Segment<EntryType> {
     public:
-#if defined(__sun__)
+#if !defined(__sun__)
         typedef typename Segment<EntryType>::SegmentMap SegmentMap;
 #endif
         LinearSegment(const EntryType* first)
@@ -156,7 +156,7 @@ namespace GDCM_NAME_SPACE
     template <typename EntryType>
     class IndirectSegment : public Segment<EntryType> {
     public:
-#if defined(__sun__)
+#if !defined(__sun__)
         typedef typename Segment<EntryType>::SegmentMap SegmentMap;
 #endif
         IndirectSegment(const EntryType* first)