summaryrefslogtreecommitdiff
path: root/src/OS/os.h-SunOS5
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-12-27 13:18:42 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2015-12-27 13:28:00 +0000
commit06cf6fdcb4b33f3751ec8d121c98e00553c8b069 (patch)
tree3ce970f01c2a2ad702a812b28bf320749e377217 /src/OS/os.h-SunOS5
parent30ef6099db9a7e26e55e9c58d8e1c0f79a95b06f (diff)
Provide setenv/unsetenv for environments lacking them. Bug 1578
Currently this covers HP-UX and older Solaris.
Diffstat (limited to 'src/OS/os.h-SunOS5')
-rw-r--r--src/OS/os.h-SunOS56
1 files changed, 6 insertions, 0 deletions
diff --git a/src/OS/os.h-SunOS5 b/src/OS/os.h-SunOS5
index dd14f25c8..bb1d77fe9 100644
--- a/src/OS/os.h-SunOS5
+++ b/src/OS/os.h-SunOS5
@@ -28,7 +28,13 @@ it seems. */
#define PAM_CONVERSE_ARG2_TYPE struct pam_message
+
/* default is non-const */
#define ICONV_ARG2_TYPE const char **
+#if _POSIX_C_SOURCE < 200112L
+# define MISSING_UNSETENV_3
+#endof
+
+
/* End */