diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-06 23:42:55 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-12-06 23:42:55 +0000 |
commit | 014822e4c0d7b7cfffc319235fe7ea64ec87ecae (patch) | |
tree | d0b90cc5c733c9ad7777fb5547d661ce1afefa91 /pp_sys.c | |
parent | 8d9e1a19ce98858053635b6720101121924f56b9 (diff) | |
download | perl-014822e4c0d7b7cfffc319235fe7ea64ec87ecae.tar.gz |
tweaks for building with -DUSE_ITHREADS on !WIN32 platforms;
fix bug where lc($readonly) could result in bogus errors
p4raw-id: //depot/perl@4660
Diffstat (limited to 'pp_sys.c')
-rw-r--r-- | pp_sys.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3602,7 +3602,7 @@ PP(pp_fork) PUSHi(childpid); RETURN; #else -# if defined(USE_ITHREADS) && defined(WIN32) +# if defined(USE_ITHREADS) && defined(USE_IMPLICIT_SYS) djSP; dTARGET; Pid_t childpid; @@ -3800,7 +3800,7 @@ PP(pp_exec) #endif } -#ifdef USE_ITHREADS +#if !defined(HAS_FORK) && defined(USE_ITHREADS) && defined(USE_IMPLICIT_SYS) if (value >= 0) my_exit(value); #endif |