2007-02-18 Aurimas Cernius <aurisc4@gmail.com>

* include/excpt.h:  Replace "_try1" in comments  with "__try1".
This commit is contained in:
Danny Smith 2007-02-18 09:46:48 +00:00
parent 6542214e59
commit 8cf2dca12b
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
* include/excpt.h: Replace "_try1" in comments with "__try1".
2007-02-15 Danny Smith <dannysmith@users.sourceforge.net> 2007-02-15 Danny Smith <dannysmith@users.sourceforge.net>
* Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES. * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
@ -864,7 +868,7 @@
2004-07-15 Danny Smith <dannysmith@users.sourceforge.net> 2004-07-15 Danny Smith <dannysmith@users.sourceforge.net>
* mingwex/complex/cargs.c: New file. * mingwex/complex/carg.c: New file.
* mingwex/Makefile.in: Really add carg.o to libmingwex.a. * mingwex/Makefile.in: Really add carg.o to libmingwex.a.
2004-07-15 Corinna Vinschen <corinna@vinschen.de> 2004-07-15 Corinna Vinschen <corinna@vinschen.de>

View File

@ -50,14 +50,14 @@ extern "C" {
/* /*
* The type of function that is expected as an exception handler to be * The type of function that is expected as an exception handler to be
* installed with _try1. * installed with __try1.
*/ */
typedef EXCEPTION_DISPOSITION (*PEXCEPTION_HANDLER) typedef EXCEPTION_DISPOSITION (*PEXCEPTION_HANDLER)
(struct _EXCEPTION_RECORD*, void*, struct _CONTEXT*, void*); (struct _EXCEPTION_RECORD*, void*, struct _CONTEXT*, void*);
/* /*
* This is not entirely necessary, but it is the structure installed by * This is not entirely necessary, but it is the structure installed by
* the _try1 primitive below. * the __try1 primitive below.
*/ */
typedef struct _EXCEPTION_REGISTRATION typedef struct _EXCEPTION_REGISTRATION
{ {
@ -87,7 +87,7 @@ typedef PEXCEPTION_REGISTRATION PEXCEPTION_REGISTRATION_RECORD;
* then add 8 to the stack pointer to get rid of the space we * then add 8 to the stack pointer to get rid of the space we
* used when we pushed on our new reg. struct above. Notice that * used when we pushed on our new reg. struct above. Notice that
* the stack must be in the exact state at this point that it was * the stack must be in the exact state at this point that it was
* after we did _try1 or this will smash things. * after we did __try1 or this will smash things.
*/ */
#define __except1 \ #define __except1 \
__asm__ ("movl (%%esp),%%eax;movl %%eax,%%fs:0;addl $8,%%esp;" \ __asm__ ("movl (%%esp),%%eax;movl %%eax,%%fs:0;addl $8,%%esp;" \