aboutsummaryrefslogtreecommitdiff
path: root/src/proj_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/proj_api.h')
-rw-r--r--src/proj_api.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/proj_api.h b/src/proj_api.h
index 81cda69a..000a0baf 100644
--- a/src/proj_api.h
+++ b/src/proj_api.h
@@ -32,6 +32,11 @@
* when a few minor-version releases has been made.
*
*/
+
+#ifndef ACCEPT_USE_OF_DEPRECATED_PROJ_API_H
+#error 'To use the proj_api.h you must define the macro ACCEPT_USE_OF_DEPRECATED_PROJ_API_H'
+#endif
+
#ifndef PJ_VERSION
#define PJ_VERSION 600
#endif