[Bug 3145] Please add two things for compiling under Siolaris 11.4

Exim Bugzilla via Exim-dev <[email protected]>
Newsgroups gmane.mail.exim.devel
Message-ID <[email protected]/>
https://bugs.exim.org/show_bug.cgi?id=3145

--- Comment #5 from Lars Timmann <[email protected]> ---
Hi Jeremy,

from the testing we did yesterday the conditional part with strings.h:

#ifdef __SunOS_5_11
# include <strings.h>    /* for bzero() on Solaris 11.4 */
#endif

does not work with GCC as only the Solaris Studio Compiler sets the macro
__SunOS_5_11. So we had to set it externally to compile.

And we had a new problem with the declaration of ICONV_ARG2_TYPE in
os.h-SunOS5, this is what we changed to make the compiler happy:

-#define ICONV_ARG2_TYPE const char **
+#define ICONV_ARG2_TYPE char ** restrict



Greetings,
   Lars

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.