From 1c1d04b45d76366f54e104f9346879fd48bfde8e Mon Sep 17 00:00:00 2001 From: Thomas Knudsen Date: Tue, 28 Nov 2017 18:34:02 +1300 Subject: Enable selective debug printout through negative PROJ_DEBUG values (#689) * Enable selective debug printout through negative PROJ_DEBUG values --- src/proj_api.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/proj_api.h') diff --git a/src/proj_api.h b/src/proj_api.h index b57d9f38..50999b71 100644 --- a/src/proj_api.h +++ b/src/proj_api.h @@ -72,15 +72,16 @@ extern "C" { #ifndef PROJ_H extern char const pj_release[]; /* global release id string */ extern int pj_errno; /* global error return code */ +#endif -/* In proj.h these macros are replaced by the enumeration pj_log_level */ +#ifndef PROJ_INTERNAL_H +/* replaced by enum proj_log_level in proj_internal.h */ #define PJ_LOG_NONE 0 #define PJ_LOG_ERROR 1 #define PJ_LOG_DEBUG_MAJOR 2 #define PJ_LOG_DEBUG_MINOR 3 #endif - #ifdef PROJ_API_H_NOT_INVOKED_AS_PRIMARY_API /* These make the function declarations below conform with classic proj */ typedef PJ *projPJ; /* projPJ is a pointer to PJ */ -- cgit v1.2.3