__THROW _GL_ARG_NONNULL ((1, 2));
# endif
#elif defined GNULIB_POSIXCHECK
-# undef posix_spawnattr_getsigdefault
-# define posix_spawnattr_getsigdefault(a, b) \
- (GL_LINK_WARNING ("posix_spawnattr_getsigdefault is unportable - " \
- "use gnulib module posix_spawnattr_getsigdefault for portability"), \
+# undef posix_spawnattr_getflags
+# define posix_spawnattr_getflags(a, b) \
+ (GL_LINK_WARNING ("posix_spawnattr_getflags is unportable - " \
+ "use gnulib module posix_spawnattr_getflags for portability"), \
posix_spawnattr_getsigdefault (a, b))
#endif
__THROW _GL_ARG_NONNULL ((1));
# endif
#elif defined GNULIB_POSIXCHECK
-# undef posix_spawnattr_getflags
-# define posix_spawnattr_getflags(a, b) \
- (GL_LINK_WARNING ("posix_spawnattr_getflags is unportable - " \
- "use gnulib module posix_spawnattr_getflags for portability"), \
+# undef posix_spawnattr_setflags
+# define posix_spawnattr_setflags(a, b) \
+ (GL_LINK_WARNING ("posix_spawnattr_setflags is unportable - " \
+ "use gnulib module posix_spawnattr_setflags for portability"), \
posix_spawnattr_getflags (a, b))
#endif
__THROW _GL_ARG_NONNULL ((1, 2));
# endif
#elif defined GNULIB_POSIXCHECK
-# undef posix_spawnattr_setflags
-# define posix_spawnattr_setflags(a, b) \
- (GL_LINK_WARNING ("posix_spawnattr_setflags is unportable - " \
- "use gnulib module posix_spawnattr_setflags for portability"), \
+# undef posix_spawnattr_getpgroup
+# define posix_spawnattr_getpgroup(a, b) \
+ (GL_LINK_WARNING ("posix_spawnattr_getpgroup is unportable - " \
+ "use gnulib module posix_spawnattr_getpgroup for portability"), \
posix_spawnattr_setflags (a, b))
#endif
pid_t __pgroup)
__THROW _GL_ARG_NONNULL ((1));
# endif
+#elif defined GNULIB_POSIXCHECK
+# undef posix_spawnattr_setpgroup
+# define posix_spawnattr_setpgroup(a, b) \
+ (GL_LINK_WARNING ("posix_spawnattr_setpgroup is unportable - " \
+ "use gnulib module posix_spawnattr_setpgroup for portability"), \
+ posix_spawnattr_setflags (a, b))
#endif
#if @GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY@