summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Dubois <jand@activestate.com>2005-12-30 21:55:00 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-12-31 15:24:48 +0000
commit2b00a750be32d67419b465b04ecb90c2045abe25 (patch)
treee306b0662679e777da9dd4b67d37e0d6d383625f
parentaec56d9948abc4f2d69ad69586b8074e1737d904 (diff)
downloadperl-2b00a750be32d67419b465b04ecb90c2045abe25.tar.gz
op/pack.t failure on Win64
Message-ID: <017a01c60d83$5dc73110$2217a8c0@candy> p4raw-id: //depot/perl@26549
-rw-r--r--pp_pack.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pp_pack.c b/pp_pack.c
index 093e601868..db53a1e40f 100644
--- a/pp_pack.c
+++ b/pp_pack.c
@@ -322,6 +322,11 @@ S_mul128(pTHX_ SV *sv, U8 m)
# define DO_BO_PACK_P(var) DO_BO_PACK_PTR(var, l, long, void)
# define DO_BO_UNPACK_PC(var) DO_BO_UNPACK_PTR(var, l, long, char)
# define DO_BO_PACK_PC(var) DO_BO_PACK_PTR(var, l, long, char)
+# elif PTRSIZE == IVSIZE
+# define DO_BO_UNPACK_P(var) DO_BO_UNPACK_PTR(var, l, IV, void)
+# define DO_BO_PACK_P(var) DO_BO_PACK_PTR(var, l, IV, void)
+# define DO_BO_UNPACK_PC(var) DO_BO_UNPACK_PTR(var, l, IV, char)
+# define DO_BO_PACK_PC(var) DO_BO_PACK_PTR(var, l, IV, char)
# else
# define DO_BO_UNPACK_P(var) BO_CANT_DOIT(unpack, pointer)
# define DO_BO_PACK_P(var) BO_CANT_DOIT(pack, pointer)