diff options
Diffstat (limited to 'lib/spawn_faction_addopen.c')
-rw-r--r-- | lib/spawn_faction_addopen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spawn_faction_addopen.c b/lib/spawn_faction_addopen.c index 5b62142..8fa1141 100644 --- a/lib/spawn_faction_addopen.c +++ b/lib/spawn_faction_addopen.c @@ -26,7 +26,7 @@ # define __sysconf(open_max) getdtablesize () #endif -#if !HAVE_WORKING_POSIX_SPAWN +#if REPLACE_POSIX_SPAWN # include "spawn_int.h" #endif @@ -44,7 +44,7 @@ posix_spawn_file_actions_addopen (posix_spawn_file_actions_t *file_actions, if (fd < 0 || fd >= maxfd) return EBADF; -#if HAVE_WORKING_POSIX_SPAWN +#if !REPLACE_POSIX_SPAWN return posix_spawn_file_actions_addopen (file_actions, fd, path, oflag, mode); #else /* Allocate more memory if needed. */ |