diff options
-rw-r--r-- | cbits/execvpe.c | 2 | ||||
-rw-r--r-- | include/execvpe.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/cbits/execvpe.c b/cbits/execvpe.c index 1d96aa5..6ce1e9d 100644 --- a/cbits/execvpe.c +++ b/cbits/execvpe.c @@ -10,6 +10,7 @@ #endif #if !(defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32)) /* to the end */ +#ifndef __QNXNTO__ /* Evidently non-Posix. */ /* #include "PosixSource.h" */ @@ -157,6 +158,7 @@ execvpe(char *name, char *const argv[], char **envp) free(buf); return (-1); } +#endif /* Copied verbatim from ghc/lib/std/cbits/system.c. */ diff --git a/include/execvpe.h b/include/execvpe.h index 676fc72..c3b2dd3 100644 --- a/include/execvpe.h +++ b/include/execvpe.h @@ -19,7 +19,9 @@ #endif #if !defined(_MSC_VER) && !defined(__MINGW32__) && !defined(_WIN32) +#ifndef __QNXNTO__ extern int execvpe(char *name, char *const argv[], char **envp); +#endif extern void pPrPr_disableITimers (void); #endif |