diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-19 15:54:04 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-02-19 15:54:04 +0000 |
commit | 9a34ef1dede5fef4f3211de7a12cc37f4645a3bd (patch) | |
tree | 8da787182ae843967c47e779685b499b0074d253 /perl.h | |
parent | 67398a75376ae8069b240ba2953215647f70366c (diff) | |
download | perl-9a34ef1dede5fef4f3211de7a12cc37f4645a3bd.tar.gz |
some rearrangement of the includes for easier "microperl" build;
add PERL_MICRO guards supplied by Simon Cozens <simon@brecon.co.uk>
p4raw-id: //depot/perl@5143
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -489,6 +489,10 @@ register struct op *Perl_op asm(stringify(OP_IN_REGISTER)); # include <stdlib.h> #endif +#ifdef PERL_MICRO /* Last chance to export Perl_my_swap */ +# define MYSWAP +#endif + #if !defined(PERL_FOR_X2P) && !defined(WIN32) # include "embed.h" #endif @@ -3136,6 +3140,23 @@ typedef struct am_table_short AMTS; # endif #endif +#ifdef I_FCNTL +# include <fcntl.h> +#else +# ifndef O_RDONLY +/* Assume UNIX defaults */ +# define O_RDONLY 0000 +# define O_WRONLY 0001 +# define O_RDWR 0002 +# define O_CREAT 0100 +# endif +#endif + +#ifdef I_SYS_FILE +# include <sys/file.h> +#endif + + #ifdef IAMSUID #ifdef I_SYS_STATVFS |