Can't compile under windows mingw64 anymore
shp2pgsql-core.c:1797:3: warning: implicit declaration of function 'setlocale' [-Wimplicit-function-declaration]
char *oldlocale = setlocale(LC_NUMERIC, "C");
^
shp2pgsql-core.c:1797:31: error: 'LC_NUMERIC' undeclared (first use in this function)
char *oldlocale = setlocale(LC_NUMERIC, "C");
This seems to have started happening at r13439 accoding to winnie
Change History
(5)
Owner: |
changed from robe to pramsey
|
Owner: |
changed from pramsey to robe
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Milestone: |
PostGIS 2.2.0 → PostGIS 2.1.8
|
Got a little impatient so fixed myself. Not sure how the heck this works on other platforms without this include. Fixed at r13445