diff options
| author | Eli Zaretskii | 2012-09-15 11:03:11 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2012-09-15 11:03:11 +0300 |
| commit | 7105c8cbf3a3226701e4d2ecb0b9c2d207648a98 (patch) | |
| tree | ea1d91884504460ebb6ac7cad3efabdc41d956e5 /src/lisp.h | |
| parent | 0328b6de4a92676b4ad4616095ce19a4f51d1c4d (diff) | |
| download | emacs-7105c8cbf3a3226701e4d2ecb0b9c2d207648a98.tar.gz emacs-7105c8cbf3a3226701e4d2ecb0b9c2d207648a98.zip | |
Fix MS-Windows build broken by 2012-09-15T07:06:56Z!eggert@cs.ucla.edu, completing fix for bug #12446.
src/w32xfns.c:
src/w32uniscribe.c:
src/w32term.c:
src/w32select.c:
src/w32reg.c:
src/w32proc.c:
src/w32menu.c:
src/w32inevt.c:
src/w32heap.c:
src/w32font.c:
src/w32fns.c:
src/w32console.c:
src/w32.c:
src/w16select.c: Remove inclusion of setjmp.h, as it is now included
by lisp.h. This completes removal of setjmp.h inclusion
erroneously announced in the previous commit.
src/lisp.h [!HAVE__SETJMP, !HAVE_SIGSETJMP]: Make the commentary
more accurate.
src/image.c (_setjmp) [!HAVE__SETJMP]: Define only if 'setjmp' is
not defined as a macro. The latter happens on MS-Windows.
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h index 335ed8ba831..447c6bd296b 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -1977,7 +1977,8 @@ typedef sigjmp_buf sys_jmp_buf; | |||
| 1977 | # define sys_setjmp(j) sigsetjmp (j, 0) | 1977 | # define sys_setjmp(j) sigsetjmp (j, 0) |
| 1978 | # define sys_longjmp(j, v) siglongjmp (j, v) | 1978 | # define sys_longjmp(j, v) siglongjmp (j, v) |
| 1979 | #else | 1979 | #else |
| 1980 | /* A non-POSIX platform; assume longjmp does not affect the sigmask. */ | 1980 | /* A platform that uses neither _longjmp nor siglongjmp; assume |
| 1981 | longjmp does not affect the sigmask. */ | ||
| 1981 | typedef jmp_buf sys_jmp_buf; | 1982 | typedef jmp_buf sys_jmp_buf; |
| 1982 | # define sys_setjmp(j) setjmp (j) | 1983 | # define sys_setjmp(j) setjmp (j) |
| 1983 | # define sys_longjmp(j, v) longjmp (j, v) | 1984 | # define sys_longjmp(j, v) longjmp (j, v) |