Install msysDVLPR-1.0.0-alpha-1
[msysgit.git] / include / machine / setjmp-dj.h
blob9eb6bcf035df1d56540c37f951b71336cc872618
1 /*
2 * Copyright (C) 1991 DJ Delorie
3 * All rights reserved.
5 * Redistribution and use in source and binary forms is permitted
6 * provided that the above copyright notice and following paragraph are
7 * duplicated in all such forms.
9 * This file is distributed WITHOUT ANY WARRANTY; without even the implied
10 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 /* Modified to use SETJMP_DJ_H rather than SETJMP_H to avoid
14 conflicting with setjmp.h. Ian Taylor, Cygnus support, April,
15 1993. */
17 #ifndef _SETJMP_DJ_H_
18 #define _SETJMP_DJ_H_
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
24 typedef struct {
25 unsigned long eax;
26 unsigned long ebx;
27 unsigned long ecx;
28 unsigned long edx;
29 unsigned long esi;
30 unsigned long edi;
31 unsigned long ebp;
32 unsigned long esp;
33 unsigned long eip;
34 } jmp_buf[1];
36 extern int setjmp(jmp_buf);
37 extern void longjmp(jmp_buf, int);
39 #ifdef __cplusplus
41 #endif
43 #endif