summaryrefslogtreecommitdiff
path: root/src/3rdparty/proj/pj_errno.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/proj/pj_errno.c')
-rw-r--r--src/3rdparty/proj/pj_errno.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/3rdparty/proj/pj_errno.c b/src/3rdparty/proj/pj_errno.c
new file mode 100644
index 00000000..8b91ab29
--- /dev/null
+++ b/src/3rdparty/proj/pj_errno.c
@@ -0,0 +1,17 @@
+/* For full ANSI compliance of global variable */
+
+#include <projects.h>
+
+C_NAMESPACE_VAR int pj_errno = 0;
+
+/************************************************************************/
+/* pj_get_errno_ref() */
+/************************************************************************/
+
+int *pj_get_errno_ref()
+
+{
+ return &pj_errno;
+}
+
+/* end */