Update of /cvsroot/mahogany/M/include
In directory sc8-pr-cvs1:/tmp/cvs-serv32701/include

Modified Files:
        Mconfig.h Mwin.h 
Log Message:
support for cygwin

Index: Mconfig.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/Mconfig.h,v
retrieving revision 1.48
retrieving revision 1.49
diff -b -u -2 -r1.48 -r1.49
--- Mconfig.h   30 Dec 2002 00:40:53 -0000      1.48
+++ Mconfig.h   23 Jun 2003 01:23:45 -0000      1.49
@@ -26,5 +26,5 @@
 
 /// Test for unix flavours:
-#if defined(unix) || defined(__unix) || defined(__unix__)
+#if ( defined(unix) || defined(__unix) || defined(__unix__) ) && ! defined(__CYGWIN__)
 #  define  OS_UNIX    1
 #  define  OS_TYPE    "unix"
@@ -45,5 +45,5 @@
 
 /// Test for MS Windows:
-#if defined(__WIN__) || defined(__WINDOWS__) || defined(_WIN32)
+#if defined(__WIN__) || defined(__WINDOWS__) || defined(_WIN32) || defined(__CYGWIN__)
 #  define  OS_WIN    1
 #  define  OS_TYPE    "windows"

Index: Mwin.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/Mwin.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -b -u -2 -r1.7 -r1.8
--- Mwin.h      13 Oct 2002 12:24:53 -0000      1.7
+++ Mwin.h      23 Jun 2003 01:23:45 -0000      1.8
@@ -16,5 +16,7 @@
 
 /// not defined by makefile
+#ifndef M_CANONICAL_HOST
 #define M_CANONICAL_HOST   ""
+#endif
 
 #endif



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to