Commit 7229e921 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Prefix _JBLEN to avoid conflict on FreeBSD.

parent ddf8a74a
...@@ -16,9 +16,6 @@ ...@@ -16,9 +16,6 @@
#ifdef __i386__ #ifdef __i386__
#define _JBLEN 16
#define _JBTYPE int
typedef struct __JUMP_BUFFER typedef struct __JUMP_BUFFER
{ {
unsigned long Ebp; unsigned long Ebp;
...@@ -37,15 +34,23 @@ typedef struct __JUMP_BUFFER ...@@ -37,15 +34,23 @@ typedef struct __JUMP_BUFFER
#endif /* __i386__ */ #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 #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
int MSVCRT(_setjmp)( MSVCRT(jmp_buf)); int MSVCRT(_setjmp)(MSVCRT(jmp_buf));
int MSVCRT(longjmp)( MSVCRT(jmp_buf),int); int MSVCRT(longjmp)(MSVCRT(jmp_buf),int);
#ifdef __cplusplus #ifdef __cplusplus
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment