The following patch enables building plib on Solaris. Would anyone with
appropriate connections pushing this to the plib people ? Probably this
enables us building FlightGear binaries for Solaris:
--- src/util/ul.h.original Mon Jun 30 19:16:02 2003
+++ src/util/ul.h Mon Jun 30 19:13:22 2003
@@ -80,7 +80,7 @@
#define UL_IRIX 1
-#elif defined(SOLARIS)
+#elif defined(SOLARIS) || defined(sun)
#define UL_SOLARIS 1
@@ -121,7 +121,7 @@
#include <unistd.h>
#endif
-#if defined(UL_LINUX) || defined(UL_BSD) || defined(UL_IRIX)
+#if defined(UL_LINUX) || defined(UL_BSD) || defined(UL_IRIX) || defined(UL_SOLARIS)
#include <unistd.h>
#include <dlfcn.h>
#include <fcntl.h>
Thanks,
Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel