Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32767/include
Modified Files:
Mconfig.h
Log Message:
recognize NetBSD as Unix
Index: Mconfig.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/Mconfig.h,v
retrieving revision 1.55
retrieving revision 1.56
diff -b -u -2 -r1.55 -r1.56
--- Mconfig.h 20 Jun 2004 22:52:03 -0000 1.55
+++ Mconfig.h 31 Aug 2005 22:09:08 -0000 1.56
@@ -36,5 +36,5 @@
/// Test for unix flavours:
-#if ( defined(unix) || defined(__unix) || defined(__unix__) ) && !
defined(__CYGWIN__)
+#if defined(__UNIX__) && !defined(__CYGWIN__)
# define OS_UNIX 1
# define OS_TYPE "unix"
@@ -44,7 +44,7 @@
# define OS_SUBTYPE "linux-gnu"
# endif
-# ifdef sun
-# define OS_SOLARIS
-# define OS_SUBTYPE "solaris"
+# ifdef __NetBSD__
+# define OS_NETBSD
+# define OS_SUBTYPE "netbsd"
# endif
# ifdef __osf__
@@ -52,4 +52,8 @@
# define OS_SUBTYPE "tru64"
# endif
+# ifdef sun
+# define OS_SOLARIS
+# define OS_SUBTYPE "solaris"
+# endif
#endif
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates