Skip to content

Commit

Permalink
Fix crash on 64-bit Windows due to incorrect setjmp define being used
Browse files Browse the repository at this point in the history
  • Loading branch information
FrodeSolheim committed Oct 12, 2015
1 parent f0deafb commit c8f2c23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/sysemu/os-win32.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
#endif

#if defined(_WIN64)
/* Include setjmp.h now to make sure it does not replace our define. */
#include <setjmp.h>
/* On w64, setjmp is implemented by _setjmp which needs a second parameter.
* If this parameter is NULL, longjump does no stack unwinding.
* That is what we need for QEMU. Passing the value of register rsp (default)
Expand Down

0 comments on commit c8f2c23

Please sign in to comment.