[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Minor patch to fix Solaris build

I've been applying this as long as I can remember to make builds work
on Solaris:

--- sfio/src/lib/sfio/sfhdr.h   6 Jul 2004 15:07:44 -0000       1.3
+++ sfio/src/lib/sfio/sfhdr.h   9 May 2005 12:17:45 -0000
@@ -176,6 +176,10 @@
 #define remove unlink
+#if defined(__sun)
+#define _FILEDEFED
 #if _hdr_math
 #include       <math.h>
 #ifdef MAXFLOAT        /* on BSDI, this is defined twice in
machine/values.h and math.h */

Its clearly a kludge, but its the best I've managed to come up.

Alex Kiernan
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi