mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
619 B
36 lines
619 B
/***
|
|
*setjmpex.h - definitions/declarations for setjmp/longjmp routines
|
|
*
|
|
* Copyright (c) 1985-1993, Microsoft Corporation. All rights reserved.
|
|
*
|
|
*Purpose:
|
|
* This file causes _setjmpex to be called which will enable safe
|
|
* setjmp/longjmp that work correctly with try/except/finally.
|
|
*
|
|
****/
|
|
|
|
#ifndef _INC_SETJMPEX
|
|
#define _INC_SETJMPEX
|
|
|
|
/*
|
|
* Definitions specific to particular setjmp implementations.
|
|
*/
|
|
|
|
#if defined(_M_IX86)
|
|
|
|
/*
|
|
* MS compiler for x86
|
|
*/
|
|
|
|
#define setjmp _setjmp
|
|
#define longjmp _longjmpex
|
|
|
|
#else
|
|
|
|
#define setjmp _setjmpex
|
|
|
|
#endif
|
|
|
|
#include <setjmp.h>
|
|
|
|
#endif /* _INC_SETJMPEX */
|