]> git.eshelyaron.com Git - emacs.git/commit
Make Emacs buildable with -std=c11.
authorPhilipp Stephani <p.stephani2@gmail.com>
Tue, 4 Mar 2025 19:50:50 +0000 (20:50 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 9 Mar 2025 07:03:40 +0000 (08:03 +0100)
commit41a3edd260862a587134842b7c918802c28f5f29
treefce198e6810cbbff63041c90c864e6410ca7ea8e
parentd9197da00262a2749761d6b77ee38aa8790b6350
Make Emacs buildable with -std=c11.

With -std=c11, GCC doesn't recognize 'asm' as a keyword, see
https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html and
https://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html.  Use __asm__
instead.

* src/lisp.h (flush_stack_call_func): Use __asm__ instead of asm.

(cherry picked from commit e978737f57ef8447bba5796dd945ac185fcadffa)
src/lisp.h