[gdal-dev] Problems building gdal for win ce

Even Rouault even.rouault at mines-paris.org
Thu Jul 3 13:48:51 EDT 2008


I've commited the localeconv() workaround

> One more question, I had a problem with function VSI_STAT64
> being undefined. I added the following define in src/port/cpl_config.h
>
> #define VSI_STAT64 stat
>
> it compiles, but I am not sure if this is correct or it can
> cause some problems later.

In cpl_config.h.vc (regular Windows config file), I see :

#if (_MSC_VER < 1500)
#  define VSI_STAT64 _stat
#  define VSI_STAT64_T _stat
#else
#  define VSI_STAT64 _stat64
#  define VSI_STAT64_T __stat64
#endif

Maybe this works for WinCE too ? You might create a ticket to report about 
your findings.

>
> Regards
> Godofredo Contreras
>


More information about the gdal-dev mailing list