Martin Landa wrote: > >> do we need our own G_strcasecmp()? Bearing in mind that libc offers > >> strcasecmp() and strncasecmp(). > > > > Windows doesn't have these (it has stricmp and/or strcmpi instead). > > recently I have used strncasecmp() in db/ogr/execute.c and it's > compile on Windows without any problem.
MinGW defines it in libmoldname<version>.a, which is linked by default. It wouldn't work if you built with MSVC, although the same is true for the POSIX functions (these functions have leading underscores in MSVCRT; libmoldnames exists mainly to define aliases without the underscores). -- Glynn Clements <[email protected]> _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
