----- Original Message -----
From: "christian" <[EMAIL PROTECTED]>
Is PAR supporting Windows x64 bits platforms?
I can build all of the PAR::Packer-0.982 dependencies (including PAR-0.982)
on the 64-bit ActiveState build of perl 5.10.0 (build 1004). But PAR::Packer
itself blows up in sha1.c:
-----------------------------------------------
c:\_32\comp\PAR-Packer-0.982\myldr\sha1.c(25) : error C2371: 'ULONG' :
redefinition; different basic types
C:\_64\Platform_SDK\Include\WinDef.h(47) : see declaration of
'ULONG'
-----------------------------------------------
The problem is the following code in myldr/sha1.c.PL:
-----------------------------------------------
#if defined(U64TYPE) && (defined(USE_64_BIT_INT) || ((BYTEORDER != 0x1234)
&& (BYTEORDER != 0x4321)))
typedef U64TYPE ULONG; // becomes line 25 of sha1.c
----------------------------------------------
I don't know how to fix that. What's the best approach Steffen ? Is it just
a matter of using a symbol other than ULONG ?
For my compiler, I'm using the freely available "Microsoft Platform SDK for
Windows Server 2003 R2" - which is also what ActiveState use to build their
64-bit perls.
Cheers,
Rob