dos_compilers/Mark Williams MWC v311/INCLUDE/SETJMP.H

27 lines
517 B
C++
Raw Normal View History

2024-07-01 15:16:06 +02:00
/*
* MWC86 CPS Version 3.1.1.
* Copyright (c) 1982-1986 by Mark Williams Company, Chicago.
* All rights reserved. May not be copied or disclosed without permission.
*/
/*
* MSDOS setjmp.h.
*/
#ifndef SETJMP_H
#define SETJMP_H
/*
* This header defines the type used to
* save state for setjmp() and longjmp().
* Saves sp, bp and the return pc. The
* return PC is 2 words long in large model.
*/
#ifdef LARGE
typedef int jmp_buf[4];
#else
typedef int jmp_buf[3];
#endif
#endif