mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 17:51:01 +00:00
Fix warning "setjmp" redefined on Windows.
This commit is contained in:
parent
5826cb0eb4
commit
2be366e05d
1 changed files with 2 additions and 0 deletions
|
@ -59,7 +59,9 @@
|
|||
* implementation of longjmp in mingw-w64 sometimes crashes in msvcrt.dll
|
||||
* but the builtin version provided by gcc seems to work.
|
||||
*/
|
||||
#undef setjmp
|
||||
#define setjmp(X) __builtin_setjmp(X)
|
||||
#undef longjmp
|
||||
#define longjmp(X,Y) __builtin_longjmp(X,Y)
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue