[Insight-users] itkIntTypes

Peter Cech pcech at vision.ee.ethz.ch
Thu Jul 15 05:31:32 EDT 2004


On Wed, Jul 14, 2004 at 12:16:35 -0400, Luis Ibanez wrote:
> >#ifndef _WIN32
> >typedef long long   ITK_INT64;
> >#endif
> >
> >#ifdef _WIN32
> >typedef long      ITK_INT64;
> 
> 
> Which means that your current configuration
> of VisualStudio 6.0 is not considering "long"
> as a 64 bits integer

What about 'typedef __int64 ITK_INT64;'? It might require additional
#ifdef for VisualStudio in order not to break compilation with Borland
and MinGW/Cygwin compilers, but it would work as expected
out-of-the-box.

Peter


More information about the Insight-users mailing list