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

Modified Files:
        wxDialogLayout.h wxMApp.h 
Log Message:
Mahogany can now be compiled with cygwin's -mno-cygwin switch (mingw)

Index: wxDialogLayout.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/gui/wxDialogLayout.h,v
retrieving revision 1.67
retrieving revision 1.68
diff -b -u -2 -r1.67 -r1.68
--- wxDialogLayout.h    30 Apr 2003 00:12:50 -0000      1.67
+++ wxDialogLayout.h    15 Jul 2003 00:47:33 -0000      1.68
@@ -24,5 +24,5 @@
 
 #ifndef USE_PCH
-#ifdef __CYGWIN__
+#ifdef OS_WIN // cygwin and mingw
 #  include <wx/scrolwin.h>
 #endif

Index: wxMApp.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/gui/wxMApp.h,v
retrieving revision 1.69
retrieving revision 1.70
diff -b -u -2 -r1.69 -r1.70
--- wxMApp.h    24 Mar 2003 02:57:32 -0000      1.69
+++ wxMApp.h    15 Jul 2003 00:47:33 -0000      1.70
@@ -17,7 +17,10 @@
 #  include "MApplication.h"
 
+#ifdef OS_WIN // cygwin and mingw
+#  undef Yield // otherwise we get include/wx/app.h:182: arguments given to macro 
`Yield'
+#endif
 #  include <wx/app.h>
 // it includes windows.h which defines SendMessage under Windows
-#ifdef __CYGWIN__
+#ifdef OS_WIN // cygwin and mingw
 #  undef SendMessage
 #endif



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to