Skip to content

Commit

Permalink
Add a win32 check
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-s committed Jul 29, 2024
1 parent acca44c commit 5157623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindings.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
;;
;; [^1]: https://github.com/llvm/llvm-project/blob/ceade83ad5fc529f2b2beb896eec0dd0b29fdd44/llvm/docs/ExceptionHandling.rst#id32
;; [^2]: https://github.com/llvm/llvm-project/blob/ceade83ad5fc529f2b2beb896eec0dd0b29fdd44/clang/include/clang/Basic/Builtins.td#L897
(format stream "#ifdef __clang__~%# define JMP_BUF_CAST (void **)~%#else~%# define JMP_BUF_CAST~%#endif~%~%")
(format stream "#if defined(__clang__) && defined(_WIN32)~%# define JMP_BUF_CAST (void **)~%#else~%# define JMP_BUF_CAST~%#endif~%~%")
(when (sb-sys:find-foreign-symbol-address "set_lossage_handler")
(format stream "void set_lossage_handler(void (*handler)(void));~%"))
(format stream "void ldb_monitor(void);~%~%")
Expand Down

0 comments on commit 5157623

Please sign in to comment.