[Zlib-devel] TR: the win32\Makefile.msc diff
William A. Rowe Jr.
wrowe at rowe-clan.net
Mon Mar 22 00:42:14 EDT 2010
On 3/21/2010 4:22 PM, Enrico Weigelt wrote:
> William A. Rowe Jr. wrote:
>
>> I'm afraid that testers have equated compile/run success with gzfunc64 bit success,
>> and the two aren't equivilant. A simple (sizeof(z_off64_t) == 8) test would suffice,
>> but sadly that doesn't work in a preprocessor context :(
>
> But you can make the compiler fail if sizeof(..) doesnt match a
> specific size, so use for a compile-test (in ./configure).
The compiler? Do you mean at run time, e.g. if (sizeof(z_off64_t) != 8) exit(1);
or something obvious I'm not seeing?
You are suggesting fail within the "compiler", e.g. cpp?
More information about the Zlib-devel
mailing list