Subject: | File::Map 0.42 build fail on Windows |
See
http://www.cpantesters.org/cpan/report/9c6378b1-6bf3-1014-86c4-ea77e7cb7abd
I've got the following error when building the module on Windows.
lib\\File\\Map.xs:366: error: 'BITS32MASK' undeclared (first use in this
function)
At line Map.xs:355
#define BITS32_MASK 0xFFFFFFFF
At line Map.xs:366
mapping = CreateFileMapping(file, NULL, winflags[prot].createflag,
maxsize >> 32, maxsize & BITS32MASK, NULL);
At line Map.xs:370
address = MapViewOfFile(mapping, viewflag, offset >> 32, offset &
BITS32MASK, length);
BITS32MASK should be changed to BITS32_MASK ??