Update of /cvsroot/mahogany/M/src/mail
In directory sc8-pr-cvs1:/tmp/cvs-serv32701/src/mail
Modified Files:
MailFolderCC.cpp MailFolderCmn.cpp MailMH.cpp
Log Message:
support for cygwin
Index: MailFolderCC.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MailFolderCC.cpp,v
retrieving revision 1.667
retrieving revision 1.668
diff -b -u -2 -r1.667 -r1.668
--- MailFolderCC.cpp 1 Jun 2003 22:48:26 -0000 1.667
+++ MailFolderCC.cpp 23 Jun 2003 01:23:46 -0000 1.668
@@ -4653,5 +4653,5 @@
// link in all drivers (SSL is initialized later, when it is needed for the
// first time)
-#ifdef OS_WIN
+#if defined(OS_WIN) && !defined(__CYGWIN__)
# include "linkage.c"
#else
Index: MailFolderCmn.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MailFolderCmn.cpp,v
retrieving revision 1.112
retrieving revision 1.113
diff -b -u -2 -r1.112 -r1.113
--- MailFolderCmn.cpp 11 Apr 2003 22:28:48 -0000 1.112
+++ MailFolderCmn.cpp 23 Jun 2003 01:23:46 -0000 1.113
@@ -85,5 +85,5 @@
extern const MOption MP_NEWMAIL_PLAY_SOUND;
extern const MOption MP_NEWMAIL_SOUND_FILE;
-#ifdef OS_UNIX
+#if defined(OS_UNIX) || defined(__CYGWIN__)
extern const MOption MP_NEWMAIL_SOUND_PROGRAM;
#endif // OS_UNIX
@@ -1951,5 +1951,5 @@
String sound = READ_CONFIG(profile, MP_NEWMAIL_SOUND_FILE);
-#if defined(OS_WIN)
+#if defined(OS_WIN) && !defined(__CYGWIN__)
DWORD flags = SND_ASYNC;
@@ -1966,5 +1966,5 @@
if ( !::PlaySound(sound, NULL, flags) )
-#elif defined(OS_UNIX)
+#elif defined(OS_UNIX) || defined(__CYGWIN__)
String soundCmd = READ_CONFIG(profile, MP_NEWMAIL_SOUND_PROGRAM);
Index: MailMH.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MailMH.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -b -u -2 -r1.10 -r1.11
--- MailMH.cpp 4 Jan 2003 23:58:34 -0000 1.10
+++ MailMH.cpp 23 Jun 2003 01:23:46 -0000 1.11
@@ -28,4 +28,7 @@
# include "ASMailFolder.h"
+#ifdef __CYGWIN__
+# include "MApplication.h" // for mApplication
+#endif
#endif // USE_PCH
-------------------------------------------------------
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