* lib/spawni.c: Don't use this particular #pragma for gcc < 4.2.
+2023-06-05 Bruno Haible <bruno@clisp.org>
+
+ posix_spawn-internal: Fix a warning (regression 2022-11-20).
+ * lib/spawni.c: Don't use this particular #pragma for gcc < 4.2.
+
2023-06-02 Bruno Haible <bruno@clisp.org>
striconveha: Don't crash if malloc() returns NULL.
/* The warning "warning: 'vfork' is deprecated: Use posix_spawn or fork" seen
on macOS 12 is pointless, as we use vfork only when it is safe or when the
user has explicitly requested it. Silence this warning. */
-#if __GNUC__ >= 3
+#if _GL_GNUC_PREREQ (4, 2)
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif