Hi Even,

On Thu, 10. Dec 2015 at 10:27:57 +0100, Even Rouault wrote:
> > currently I am working on Windows GRASS builds (using MSYS2 +
> > MinGW64). I have still some issue with GDAL which I am not sure how to
> > correctly solve:
> > 
> > 1) GDAL has enabled in cpl_port.h
> > 
> > #ifdef HAVE_DIRECT_H
> > #  include <direct.h>
> > #endif
> > 
> > which is old header used by MSVC, modern is dirent.h, right?

> https://en.wikipedia.org/wiki/Direct.h
> http://pubs.opengroup.org/onlinepubs/7908799/xsh/dirent.h.html
> 
> Don't seem quite the same.
> 
> And normally ./configure should define HAVE_DIRECT_H in port/cpl_config.h 
> only if 
> it is available.

It's probably a OSGeo4W issue - because there GDAL is built with MSVC (w/o
configure), while GRASS is built with mingw - using the MSVC built GDAL.


Jürgen

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-31
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

Attachment: signature.asc
Description: Digital signature

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to