summaryrefslogtreecommitdiff
path: root/src/OS/os.h-cygwin
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-04-26 18:31:14 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2015-04-26 18:31:14 +0100
commit9c19b270ead379003ece51fb49b83e7ea8b2d25e (patch)
tree5b53587e2c0e662ebfcec72a9d10867c8d60d83c /src/OS/os.h-cygwin
parent627d1a1b61d9c535835221afcbe1b9cd6548cd3b (diff)
Invert default for iconv() 2nd arg type, to match SUSv3. Bug 1161
Probably most of the lesser-used builds are already broken; this won't fix them
Diffstat (limited to 'src/OS/os.h-cygwin')
-rw-r--r--src/OS/os.h-cygwin3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/OS/os.h-cygwin b/src/OS/os.h-cygwin
index 740300af6..07c14d04d 100644
--- a/src/OS/os.h-cygwin
+++ b/src/OS/os.h-cygwin
@@ -48,4 +48,7 @@ struct { \
DWORD SubAuthority[n]; \
} name = { SID_REVISION, n, {SECURITY_NT_AUTHORITY}, {sid}}
+/* default is non-const */
+#define ICONV_ARG2_TYPE const char **
+
/* End */