Created
April 18, 2015 02:57
-
-
Save tek-nishi/b4c029c2024ec71154d1 to your computer and use it in GitHub Desktop.
emacs 24.x をMSYS2のclangでビルドするためのパッチ(thank's for rzl24ozi)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- src/lisp.h.orig 2014-11-19 15:00:20.843528000 +0900 | |
+++ src/lisp.h 2014-11-19 15:07:48.693175100 +0900 | |
@@ -2810,7 +2810,11 @@ | |
/* A platform that uses neither _longjmp nor siglongjmp; assume | |
longjmp does not affect the sigmask. */ | |
typedef jmp_buf sys_jmp_buf; | |
+#if defined __MINGW64__ && defined __clang__ | |
+# define sys_setjmp(j) _setjmp (j, NULL) | |
+#else | |
# define sys_setjmp(j) setjmp (j) | |
+#endif | |
# define sys_longjmp(j, v) longjmp (j, v) | |
#endif | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment