diff options
author | Andy Broad <andy@broad.ology.org.uk> | 2015-08-26 17:26:38 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2015-09-05 11:12:44 -0400 |
commit | 3c0208ad3c184fd7d7bff9e1e9796e41ad4d815d (patch) | |
tree | 42dee4c8d42727f285bedba2a2bb5a0cfde066b7 | |
parent | 153a1061c434ce6bd260de8414949e2f86119d3f (diff) | |
download | perl-3c0208ad3c184fd7d7bff9e1e9796e41ad4d815d.tar.gz |
amigaos4: FD_CLOEXEC is defined but not implemented
-rw-r--r-- | perl.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -2789,6 +2789,11 @@ typedef struct padname PADNAME; # include "unixish.h" #endif +#if defined(__amigaos4__) +# include "amigaos.h" +# undef FD_CLOEXEC /* a lie in AmigaOS */ +#endif + /* NSIG logic from Configure --> */ /* Strange style to avoid deeply-nested #if/#else/#endif */ #ifndef NSIG @@ -6341,6 +6346,10 @@ expression, but with an empty argument list, like this: # include <fcntl.h> #endif +#ifdef __amigaos4__ +# undef FD_CLOEXEC /* a lie in AmigaOS */ +#endif + #ifdef I_SYS_FILE # include <sys/file.h> #endif |