diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 1997-11-05 01:04:10 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 1997-11-05 01:04:10 +0000 |
commit | 4e35701fd273ba8d0093a29660dee38a92408e9b (patch) | |
tree | afa97d9bf675ea146b86cf09a7c27e1bfbb980f3 /pp.h | |
parent | 2b544454484ed91b6f1ae2cffef4c29b1302dcd7 (diff) | |
download | perl-4e35701fd273ba8d0093a29660dee38a92408e9b.tar.gz |
Builds C++ Borland, MSVC++ (Win32) and GCC++ (Solaris)
p4raw-id: //depot/ansiperl@203
Diffstat (limited to 'pp.h')
-rw-r--r-- | pp.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -10,12 +10,15 @@ #ifdef USE_THREADS #define ARGS thr #define dARGS struct thread *thr; -#define PP(s) OP* s(ARGS) dARGS #else #define ARGS #define dARGS -#define PP(s) OP* s(ARGS) dARGS #endif /* USE_THREADS */ +#ifdef CAN_PROTOTYPE +#define PP(s) OP * s(ARGSproto) +#else /* CAN_PROTOTYPE */ +#define PP(s) OP* s(ARGS) dARGS +#endif /* CAN_PROTOTYPE */ #define SP sp #define MARK mark @@ -28,7 +31,8 @@ #define TOPMARK (*markstack_ptr) #define POPMARK (*markstack_ptr--) -#define dSP register SV **sp = stack_sp +#define djSP register SV **sp = stack_sp +#define dSP dTHR; djSP #define dMARK register SV **mark = stack_base + POPMARK #define dORIGMARK I32 origmark = mark - stack_base #define SETORIGMARK origmark = mark - stack_base |