Fix Portland compiler warnings
[alexxy/gromacs.git] / src / gromacs / legacyheaders / types / simple.h
index 9a69a3af6bc831f46c389b94a56bdc6cdb78a2bb..bf1a5216af6ce355a904433518145c5e11c3f27d 100644 (file)
@@ -222,6 +222,9 @@ typedef uint64_t gmx_uint64_t;
 #elif (defined(__INTEL_COMPILER) || defined(__ECC)) && !defined(_MSC_VER)
 /* ICC on *nix */
 #  define gmx_unused __attribute__ ((unused))
+#elif defined(__PGI)
+/* Portland group compilers */
+#  define gmx_unused __attribute__ ((unused))
 #elif defined _MSC_VER
 /* MSVC */
 #  define gmx_unused /*@unused@*/