haiku/headers/posix/arch/x86_64/arch_setjmp.h
Alex Smith 2f36ef5afe Fixed the x86_64 setjmp implementation.
* typedef for jmp_buf was using int where it should be long.
* setjmp was clearing the buffer pointer rather than the signal mask before
  calling sigsetjmp.
* KDL now works without crashing on x86_64.
2012-07-05 13:52:36 +01:00

12 lines
229 B
C

/*
* Copyright 2005-2012 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _ARCH_SETJMP_H_
#define _ARCH_SETJMP_H_
typedef unsigned long __jmp_buf[8];
#endif /* _ARCH_SETJMP_H_ */