This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/h/setjmp.h

60 lines
1.3 KiB
C
Raw Normal View History

/*
* setjmp.h/csetjmp
*
* =========================================================================
*
* Open Watcom Project
*
* Copyright (c) 2002-2010 Open Watcom Contributors. All Rights Reserved.
* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
*
* This file is automatically generated. Do not edit directly.
*
* =========================================================================
*/
#ifndef _SETJMP_H_INCLUDED
#define _SETJMP_H_INCLUDED
#ifndef _ENABLE_AUTODEPEND
#pragma read_only_file;
#endif
#ifndef _COMDEF_H_INCLUDED
#include <_comdef.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
#if defined(__PPC__)
typedef unsigned int jmp_buf[1];
#elif defined(__AXP__)
typedef double jmp_buf[24];
#elif defined(__MIPS__)
typedef unsigned long jmp_buf[26];
#else
typedef unsigned int jmp_buf[13];
#endif
_WCRTLINK extern int _setjmp( jmp_buf __env );
_WCRTLINK extern void longjmp( jmp_buf __env, int __val );
#if !defined(_SETJMPEX_H_INCLUDED_)
#define setjmp(__env) _setjmp(__env)
#endif
#if defined(_M_I86)
#pragma aux _setjmp __modify [__8087];
#elif defined(__386__)
#pragma aux _setjmp __parm __caller [__eax] __modify [__8087];
#endif
#pragma aux longjmp __aborts;
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif