Index: trunk/psLib/src/math/psPolynomialMetadata.h
===================================================================
--- trunk/psLib/src/math/psPolynomialMetadata.h	(revision 14415)
+++ trunk/psLib/src/math/psPolynomialMetadata.h	(revision 14452)
@@ -8,6 +8,6 @@
  * @author GLG, MHPCC
  *
- * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
- * @date $Date: 2007-08-07 00:03:00 $
+ * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
+ * @date $Date: 2007-08-09 01:40:07 $
  *
  * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -51,9 +51,5 @@
     const char *format,                ///< Name of polynomial folder.
     ...                                ///< Arguments for name formatting.
-)
-#ifdef __GNUC__
-__attribute__((format(printf,3,4)))
-#endif
-;
+) PS_ATTR_FORMAT(printf,3,4);
 
 /** Allocates a new psPolynomial2D structure with information from a psMetadata.
@@ -88,9 +84,5 @@
     const char *format,                      ///< Name of polynomial folder.
     ...                                ///< Arguments for name formatting.
-)
-#ifdef __GNUC__
-__attribute__((format(printf,3,4)))
-#endif
-;
+) PS_ATTR_FORMAT(printf,3,4);
 
 /** Allocates a new psPolynomial3D structure with information from a psMetadata.
@@ -126,9 +118,5 @@
     const char *format,                      ///< Name of polynomial folder.
     ...                                ///< Arguments for name formatting.
-)
-#ifdef __GNUC__
-__attribute__((format(printf,3,4)))
-#endif
-;
+) PS_ATTR_FORMAT(printf, 3, 4);
 
 /** Allocates a new psPolynomial4D structure with information from a psMetadata.
@@ -164,9 +152,5 @@
     const char *format,                      ///< Name of polynomial folder.
     ...                                ///< Arguments for name formatting.
-)
-#ifdef __GNUC__
-__attribute__((format(printf,3,4)))
-#endif
-;
+) PS_ATTR_FORMAT(printf, 3, 4);
 
 /// @}
