]> 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>
Wed, 25 Dec 2024 14:27:21 +0000 (15:27 +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 c2a07290d9632c1ac04e32d07baaa70745687aee..35c4132c89f8bb41fdad71ed4317a2aeabed64d5 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 2a4576ff08c08c1251ad594e74bc17a82c33af90..71d1505f5d31f7fb830bc070a793d996b854474f 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