PROJ_LIB: Fix detection code

.sconf_temp/conftest_24.cpp:30:42: error: use of undeclared identifier 'strlen'
This commit is contained in:
Raul Marin 2018-02-20 14:24:06 +01:00 committed by Dane Springmeyer
parent baf5cdbd71
commit 44f1ae3a6e

View file

@ -866,6 +866,7 @@ def CheckProjData(context, silent=False):
// This is narly, could eventually be replaced using https://github.com/OSGeo/proj.4/pull/551] // This is narly, could eventually be replaced using https://github.com/OSGeo/proj.4/pull/551]
#include <proj_api.h> #include <proj_api.h>
#include <iostream> #include <iostream>
#include <cstring>
static void my_proj4_logger(void * user_data, int /*level*/, const char * msg) static void my_proj4_logger(void * user_data, int /*level*/, const char * msg)
{ {