]> Savannah Git Hosting - gnulib.git/commitdiff
spawn: Support several gnulib-tool invocations better.
authorBruno Haible <bruno@clisp.org>
Tue, 24 Dec 2024 10:17:31 +0000 (11:17 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 24 Dec 2024 13:16:09 +0000 (14:16 +0100)
* lib/spawn.in.h (_GL_ALREADY_INCLUDING_SPAWN_H): Rename to a macro that
depends on GUARD_PREFIX.

ChangeLog
lib/spawn.in.h

index 4bc25a006f174143aff4cc86f129d4bdde0b38bc..ba83b797254c89ed658bc5caf0a36269cc648948 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-12-24  Bruno Haible  <bruno@clisp.org>
+
+       spawn: Support several gnulib-tool invocations better.
+       * lib/spawn.in.h (_GL_ALREADY_INCLUDING_SPAWN_H): Rename to a macro that
+       depends on GUARD_PREFIX.
+
 2024-12-24  Bruno Haible  <bruno@clisp.org>
 
        signal-h: Support several gnulib-tool invocations better.
index 5f42407d87781426681601daf1531db78d828494..7bf7af60d5291cde9ead135759b0254641efa62d 100644 (file)
@@ -20,7 +20,7 @@
 #endif
 @PRAGMA_COLUMNS@
 
-#if defined _GL_ALREADY_INCLUDING_SPAWN_H
+#if defined _@GUARD_PREFIX@_ALREADY_INCLUDING_SPAWN_H
 /* Special invocation convention:
    On OS/2 kLIBC, <spawn.h> includes <signal.h>. Then <signal.h> ->
    <pthread.h> -> <sched.h> -> <spawn.h> are included by GNULIB.
 /* The include_next requires a split double-inclusion guard.  */
 #if @HAVE_SPAWN_H@
 
-# define _GL_ALREADY_INCLUDING_SPAWN_H
+# define _@GUARD_PREFIX@_ALREADY_INCLUDING_SPAWN_H
 
 # @INCLUDE_NEXT@ @NEXT_SPAWN_H@
 
-# define _GL_ALREADY_INCLUDING_SPAWN_H
+# define _@GUARD_PREFIX@_ALREADY_INCLUDING_SPAWN_H
 
 #endif