Update of /cvsroot/mahogany/M/src/mail
In directory usw-pr-cvs1:/tmp/cvs-serv9300/src/mail

Modified Files:
        SendMessageCC.cpp 
Log Message:
Windows compilation fix

Index: SendMessageCC.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/SendMessageCC.cpp,v
retrieving revision 1.191
retrieving revision 1.192
diff -b -u -2 -r1.191 -r1.192
--- SendMessageCC.cpp   12 Jun 2002 19:35:50 -0000      1.191
+++ SendMessageCC.cpp   12 Jun 2002 22:14:30 -0000      1.192
@@ -57,5 +57,7 @@
 #include <wx/datetime.h>
 
-#ifdef OS_UNIX
+#ifdef OS_WIN
+   #include <wx/msw/private.h>  // for GetCurrentProcessId()
+#elif defined(OS_UNIX)
    #include <unistd.h>  // for getpid()
 #endif
@@ -992,6 +994,4 @@
    {
 #ifdef OS_WIN
-      extern "C" DWORD GetCurrentProcessId();
-
       s_pid = (unsigned long)GetCurrentProcessId();
 #elif defined(OS_UNIX)


_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to