pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/41601 (devel/glib2 fails to compile on Solaris 10)



The __SunOS macro is only defined by sunpro. The patches/patch-aj should therefore look like this rather, to also accommodate for gcc on Solaris:

+#if defined(__SunOS) || defined(__sun)
+#define _XOPEN_SOURCE 600
+#endif

--
Filip Hajny
Joyent Inc.



Home | Main Index | Thread Index | Old Index