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

Modified Files:
        PathFinder.cpp XFace.cpp 
Log Message:
Mahogany can now be compiled with cygwin's -mno-cygwin switch (mingw)

Index: PathFinder.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/PathFinder.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -b -u -2 -r1.18 -r1.19
--- PathFinder.cpp      23 Jun 2003 01:23:46 -0000      1.18
+++ PathFinder.cpp      15 Jul 2003 00:47:33 -0000      1.19
@@ -24,5 +24,8 @@
 #  include   <string.h>
 #  include   "kbList.h"
+#ifdef OS_WIN // cygwin and mingw
+#  include  <io.h> // for access()
 #endif
+#endif // USE_PCH
 
 #include <sys/stat.h>
@@ -32,8 +35,4 @@
 #include <wx/filefn.h>
 #include <wx/file.h>
-
-#if defined(__CYGWIN__)
-#include  <io.h> // for int access()
-#endif
 
 #if defined(OS_UNIX)

Index: XFace.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/XFace.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -b -u -2 -r1.26 -r1.27
--- XFace.cpp   23 Jun 2003 01:23:46 -0000      1.26
+++ XFace.cpp   15 Jul 2003 00:47:33 -0000      1.27
@@ -171,5 +171,5 @@
 XFace::GetXFaceImg(const String &filename, bool *hasimg, class wxWindow *parent)
 {
-#ifndef __CYGWIN__ // FIXME undefined reference to wxIconManager::LoadImage() when 
linking
+#if !defined(__CYGWIN__) && !defined(__MINGW32__) // FIXME undefined reference to 
wxIconManager::LoadImage() when linking
    bool success = false;
    wxImage img;



-------------------------------------------------------
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