Fix build problem on Solaris 2.5.1

Eric Botcazou ebotcazou@libertysurf.fr
Mon Nov 22 19:49:00 GMT 2004


Hello,

Modulo http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01746.html, there is one 
remaining problem that prevents libgcj from building again on Solaris 2.5.1 
(it builds fine in all 3.x versions on sparc-sun-solaris2.5.1): zlib now uses 
vsnprintf, which is not available on Solaris 2.5.1 (it was introduced in 
Solaris 2.6).

So I need something like the following patch.  Is it good enough?
Tested on sparc-sun-solaris2.5.1 (and verified on Solaris 2.6, 7, 8 and 9).


2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* zconf.h: Define NO_vsnprintf on Solaris 2.5.1.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zlib.diff
Type: text/x-diff
Size: 556 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20041122/2d5a7202/attachment.bin>


More information about the Java-patches mailing list