blob: 1cac16a73d5e52426e96707d1bfdb2970a57156e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/***
*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 */
|