]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/comp.c (ADD_IMPORTED): Fix broken macro.
authorMattias Engdegård <mattiase@acm.org>
Fri, 18 Jun 2021 13:02:58 +0000 (15:02 +0200)
committerMattias Engdegård <mattiase@acm.org>
Fri, 18 Jun 2021 13:02:58 +0000 (15:02 +0200)
src/comp.c

index 056d0860d8a377801c273d613736b75bd5f3c734..ea05952627430f3cfc2fa6f043f0ba73edd70e61 100644 (file)
@@ -2687,7 +2687,7 @@ declare_runtime_imported_funcs (void)
   Lisp_Object field_list = Qnil;
 
 #define ADD_IMPORTED(f_name, ret_type, nargs, args)                           \
-  {                                                                           \
+  do {                                                                        \
     Lisp_Object name = intern_c_string (STR (f_name));                        \
     Lisp_Object field =                                                               \
       make_mint_ptr (declare_imported_func (name, ret_type, nargs, args));     \