aboutsummaryrefslogtreecommitdiff
path: root/src/proj_api.h
diff options
context:
space:
mode:
authorAaron Puchert <aaron.puchert@sap.com>2017-10-20 12:58:10 +0200
committerAaron Puchert <aaron.puchert@sap.com>2017-11-27 14:57:42 +0100
commit3175dce5fcec54fef6299cc8b595d84db5b29cf4 (patch)
tree0c82ae4f4afa9eb44893e1bd7d1f9a884459e2d9 /src/proj_api.h
parent1f48f4c333bfe135296d3be643ef4981dc401c38 (diff)
downloadPROJ-3175dce5fcec54fef6299cc8b595d84db5b29cf4.tar.gz
PROJ-3175dce5fcec54fef6299cc8b595d84db5b29cf4.zip
Replace some asserts by compile-time assertions
Decisions regarding the size of certain types are always made at compile time, hence this is where the assertion should take place. If the assertions fail, there is now a compiler error.
Diffstat (limited to 'src/proj_api.h')
-rw-r--r--src/proj_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proj_api.h b/src/proj_api.h
index b57d9f38..e5209615 100644
--- a/src/proj_api.h
+++ b/src/proj_api.h
@@ -69,10 +69,10 @@ extern "C" {
-#ifndef PROJ_H
extern char const pj_release[]; /* global release id string */
extern int pj_errno; /* global error return code */
+#ifndef PROJ_H
/* In proj.h these macros are replaced by the enumeration pj_log_level */
#define PJ_LOG_NONE 0
#define PJ_LOG_ERROR 1