[vtkusers] Files larger than 2GB on 32 Bit Windows (XP)

Kent Eschenberg eschenbe at psc.edu
Fri May 11 15:48:31 EDT 2007


Mike Jackson wrote:
> Is there a way to tell windows that I want to use 64 bit values for 
> std::Streamsize? Boost?

The Linux/GNU system provides a flag

    #define _LARGEFILE64_SOURCE 1

that switches several things to use 64-bit file access (e.g., off64_t) 
and to support routines like fopen64 and fseeko64. Perhaps the compiler 
you are using provides a similar option (well hidden, of course).

Kent
Pittsburgh Supercomputing Center



More information about the vtkusers mailing list