--- a/lib/config.hin
+++ b/lib/config.hin
@@ -1510,6 +1510,7 @@
       ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \
       : (199901L <= __STDC_VERSION__ \
          && !defined __HP_cc \
+         && !defined __PGI \
          && !(defined __SUNPRO_C && __STDC__))) \
      && !defined _GL_EXTERN_INLINE_APPLE_BUG)
 # define _GL_INLINE inline
