Prefix _JBLEN to avoid conflict on FreeBSD.

This commit is contained in:
Francois Gouget 2002-01-29 02:54:43 +00:00 committed by Alexandre Julliard
parent ddf8a74acd
commit 7229e9212a
1 changed files with 11 additions and 6 deletions

View File

@ -16,9 +16,6 @@
#ifdef __i386__
#define _JBLEN 16
#define _JBTYPE int
typedef struct __JUMP_BUFFER
{
unsigned long Ebp;
@ -37,15 +34,23 @@ typedef struct __JUMP_BUFFER
#endif /* __i386__ */
typedef _JBTYPE MSVCRT(jmp_buf)[_JBLEN];
#ifndef USE_MSVCRT_PREFIX
#define _JBLEN 16
#define _JBTYPE int
typedef _JBTYPE jmp_buf[_JBLEN];
#else
#define MSVCRT__JBLEN 16
#define MSVCRT__JBTYPE int
typedef MSVCRT__JBTYPE MSVCRT_jmp_buf[MSVCRT__JBLEN];
#endif
#ifdef __cplusplus
extern "C" {
#endif
int MSVCRT(_setjmp)( MSVCRT(jmp_buf));
int MSVCRT(longjmp)( MSVCRT(jmp_buf),int);
int MSVCRT(_setjmp)(MSVCRT(jmp_buf));
int MSVCRT(longjmp)(MSVCRT(jmp_buf),int);
#ifdef __cplusplus
}