asprintf is added to Solaris > 10 & Illumos, local asprintf.h breaks the build
------------------------------------------------------------------------------
Key: JRUBY-6193
URL: https://jira.codehaus.org/browse/JRUBY-6193
Project: JRuby
Issue Type: Bug
Components: C Extensions
Affects Versions: JRuby 1.6.5, JRuby 1.6.6, JRuby 1.7
Environment: OpenIndiana 151a (illumos), x86, gcc version 3.4.3
(csl-sol210-3_4-20050802).
Reporter: Josh Lohrman
Assignee: Thomas E Enebo
asprintf is added to solaris for versions > 10 & Illumos
in cext/src/include/ruby/ruby.h:
#if defined (__SVR4) && defined (__sun)
# define HAVE_VA_COPY
# include "asprintf.h"
#endif
breaks it for these versions. There needs to be logic to determine if the
version of Solaris needs this or not.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email