diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-09-21 08:50:22 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-09-21 08:50:22 +0000 |
commit | 923e4eb5b872f0800559dcb72be02dea329298f2 (patch) | |
tree | 32c395e2e019be7fa91d52b767b98ab578d22149 /cop.h | |
parent | 4c11337c0371dac743b0b266e8ebc6f347fa0cd9 (diff) | |
download | perl-923e4eb5b872f0800559dcb72be02dea329298f2.tar.gz |
Macrofy the compile/runtime test.
p4raw-id: //depot/perl@21297
Diffstat (limited to 'cop.h')
-rw-r--r-- | cop.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -572,3 +572,7 @@ typedef struct stackinfo PERL_SI; POPSTACK; \ } \ } STMT_END + +#define IN_PERL_COMPILETIME (PL_curcop == &PL_compiling) +#define IN_PERL_RUNTIME (PL_curcop != &PL_compiling) + |