diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2015-12-27 13:18:42 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2015-12-27 13:28:00 +0000 |
commit | 06cf6fdcb4b33f3751ec8d121c98e00553c8b069 (patch) | |
tree | 3ce970f01c2a2ad702a812b28bf320749e377217 /src/OS/os.h-SunOS5 | |
parent | 30ef6099db9a7e26e55e9c58d8e1c0f79a95b06f (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-SunOS5 | 6 |
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 */ |