summaryrefslogtreecommitdiff
path: root/byterun.h
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-02-20 16:39:38 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-02-20 16:39:38 +0000
commit98b55637d580660d79fad229f9c059fcbf7985c2 (patch)
tree421c4ca3a30b384c43fd108862692e2b63a6979e /byterun.h
parent1853469bd7bc4f59baf47a0eb2f44b3553f0a805 (diff)
downloadperl-98b55637d580660d79fad229f9c059fcbf7985c2.tar.gz
[compiler] Win32 changes from Sarathy, tweaked slightly by me.
p4raw-id: //depot/perlext/Compiler@561
Diffstat (limited to 'byterun.h')
-rw-r--r--byterun.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/byterun.h b/byterun.h
index 0e10b63ae4..81e82049cf 100644
--- a/byterun.h
+++ b/byterun.h
@@ -185,8 +185,10 @@ EXT int optype_size[]
#endif /* DOINIT */
;
-EXT SV * specialsv_list[4]
-#ifdef DOINIT
-= { Nullsv, &sv_undef, &sv_yes, &sv_no }
-#endif /* DOINIT */
-;
+EXT SV * specialsv_list[4];
+#define INIT_SPECIALSV_LIST STMT_START { \
+specialsv_list[0] = Nullsv; \
+specialsv_list[1] = &sv_undef; \
+specialsv_list[2] = &sv_yes; \
+specialsv_list[3] = &sv_no; \
+} STMT_END