aboutsummaryrefslogtreecommitdiff
path: root/src/errno.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/errno.cpp')
-rw-r--r--src/errno.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/errno.cpp b/src/errno.cpp
new file mode 100644
index 00000000..f6ea9bfc
--- /dev/null
+++ b/src/errno.cpp
@@ -0,0 +1,17 @@
+/* For full ANSI compliance of global variable */
+
+#include "projects.h"
+
+int pj_errno = 0;
+
+/************************************************************************/
+/* pj_get_errno_ref() */
+/************************************************************************/
+
+int *pj_get_errno_ref()
+
+{
+ return &pj_errno;
+}
+
+/* end */