dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/libgc mark.c,1.3,1.4 win32_threads.c,1.


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/libgc mark.c,1.3,1.4 win32_threads.c,1.2,1.3
Date: Sun, 15 Dec 2002 22:25:53 -0500

Update of /cvsroot/dotgnu-pnet/pnet/libgc
In directory subversions:/tmp/cvs-serv445/libgc

Modified Files:
        mark.c win32_threads.c 
Log Message:


Work around problems with "__try" under mingw32 compilers.


Index: mark.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/libgc/mark.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** mark.c      16 Aug 2002 00:55:45 -0000      1.3
--- mark.c      16 Dec 2002 03:25:51 -0000      1.4
***************
*** 21,25 ****
  
  /* Temporary hack to work around cygwin 1.3 compile issues */
! #if defined(__CYGWIN__)
  #define       __try
  #define       __except(x)     if(0)
--- 21,25 ----
  
  /* Temporary hack to work around cygwin 1.3 compile issues */
! #if defined(__CYGWIN__) || defined(__MINGW32__)
  #define       __try
  #define       __except(x)     if(0)

Index: win32_threads.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/libgc/win32_threads.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** win32_threads.c     8 Apr 2002 23:36:50 -0000       1.2
--- win32_threads.c     16 Dec 2002 03:25:51 -0000      1.3
***************
*** 8,11 ****
--- 8,18 ----
  #endif
  
+ /* Temporary hack to work around cygwin 1.3 compile issues */
+ #if defined(__CYGWIN__) || defined(__MINGW32__)
+ #define       __try
+ #define       __except(x)     if(0)
+ #define       __finally       if(0)
+ #endif
+ 
  #define MAX_THREADS 64
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]