]> granicus.if.org Git - taglib/commitdiff
changed SUNPRO_CC version check to first check if SUNPRO_CC is defined
authorRyan Lucchese <ryan.lucchese@write-c.com>
Tue, 30 Jun 2015 19:23:25 +0000 (13:23 -0600)
committerRyan Lucchese <ryan.lucchese@write-c.com>
Tue, 30 Jun 2015 19:23:25 +0000 (13:23 -0600)
taglib/ape/apetag.cpp

index 7a2b6dda5719778ba97dc2d1903cf830eee0063f..db817ac9980ee90a1d3f42cc09e262785980f2bf 100644 (file)
@@ -23,7 +23,7 @@
  *   http://www.mozilla.org/MPL/                                           *
  ***************************************************************************/
 
-#if __SUNPRO_CC < 0x5130
+#if defined(__SUNPRO_CC) && (__SUNPRO_CC < 0x5130)
 // Sun Studio finds multiple specializations of Map because
 // it considers specializations with and without class types
 // to be different; this define forces Map to use only the