We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6eeff73 commit 93d4b69Copy full SHA for 93d4b69
mapproject.c
@@ -362,7 +362,11 @@ static void msProjErrorLogger(void * user_data,
362
int level, const char * message)
363
{
364
(void)user_data;
365
- if( level == PJ_LOG_ERROR && msGetGlobalDebugLevel() >= MS_DEBUGLEVEL_VV)
+#if PROJ_VERSION_MAJOR >= 6
366
+ if( level == PJ_LOG_ERROR && msGetGlobalDebugLevel() >= MS_DEBUGLEVEL_VV )
367
+#else
368
+ if( level == PJ_LOG_ERROR )
369
+#endif
370
371
msDebug( "PROJ: Error: %s\n", message );
372
}
0 commit comments