You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Reporter: mobrob [Submitted to the original trac issue database at 3.53pm, Friday, 25th March 2011]
While trying to build osm2pgsql in MinGW I had the problem that the usage of function "index" in parse-primitive.c is causing problems as this function does not exist in MinGW environment.
From what I know index has been superseded by strchr which has exactly the same signature and syntax.
The attached patch does simply replace all occurrences of "index" in parse-primitive.c with "strchr" so that it can be build.
As strchr should be available also on other platforms this should not have an negative impact.
The text was updated successfully, but these errors were encountered:
Reporter: mobrob
[Submitted to the original trac issue database at 3.53pm, Friday, 25th March 2011]
While trying to build osm2pgsql in MinGW I had the problem that the usage of function "index" in parse-primitive.c is causing problems as this function does not exist in MinGW environment.
From what I know index has been superseded by strchr which has exactly the same signature and syntax.
The attached patch does simply replace all occurrences of "index" in parse-primitive.c with "strchr" so that it can be build.
As strchr should be available also on other platforms this should not have an negative impact.
The text was updated successfully, but these errors were encountered: