Files
firestorm/build-env/stlnative/SETJMPEX.H
T
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

56 lines
974 B
C++

/***
*setjmpex.h - definitions/declarations for extended setjmp/longjmp routines
*
* Copyright (c) 1993-1997, 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.
*
* [Public]
*
****/
#if _MSC_VER > 1000
#pragma once
#endif
#ifndef _INC_SETJMPEX
#define _INC_SETJMPEX
#if !defined(_WIN32) && !defined(_MAC)
#error ERROR: Only Mac or Win32 targets supported!
#endif
/*
* Definitions specific to particular setjmp implementations.
*/
#if defined(_M_IX86)
/*
* MS compiler for x86
*/
#define setjmp _setjmp
#define longjmp _longjmpex
#elif defined(_M_MRX000)
#if _MSC_VER >= 1100
#define _setjmpex _setjmpexVfp
#endif
#define setjmp _setjmpex
#else
#define setjmp _setjmpex
#endif
#include <setjmp.h>
#endif /* _INC_SETJMPEX */