diff options
author | Andrea Corallo <akrl@sdf.org> | 2020-05-24 21:50:19 +0100 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2020-05-24 21:50:19 +0100 |
commit | 1bc558b77e648efa905076f793d28fc0f025ae50 (patch) | |
tree | 01583e4fc5ad61f88a4c5970851af94f8b6120bc /src | |
parent | 1b809f378f6263bc099da45c5e4a42c89fef8d71 (diff) | |
download | emacs-1bc558b77e648efa905076f793d28fc0f025ae50.tar.gz emacs-1bc558b77e648efa905076f793d28fc0f025ae50.tar.bz2 emacs-1bc558b77e648efa905076f793d28fc0f025ae50.zip |
Fix non Windows builds
* src/emacs.c (Fkill_emacs): Given
'finish_delayed_disposal_of_comp_units',
'dispose_all_remaining_comp_units' and
'clean_package_user_dir_of_old_comp_units' are defined only with
windows native-comp builds ifdef them.
* src/comp.h (dispose_comp_unit): Fix missing parameter in
declaration.
Diffstat (limited to 'src')
-rw-r--r-- | src/comp.h | 2 | ||||
-rw-r--r-- | src/emacs.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/comp.h b/src/comp.h index b8e40ceb900..18c5ba12298 100644 --- a/src/comp.h +++ b/src/comp.h @@ -109,7 +109,7 @@ maybe_defer_native_compilation (Lisp_Object function_name, extern void syms_of_comp (void); static inline void -dispose_comp_unit (struct Lisp_Native_Comp_Unit * comp_handle) +dispose_comp_unit (struct Lisp_Native_Comp_Unit * comp_handle, bool delay) { eassert (false); } diff --git a/src/emacs.c b/src/emacs.c index 2a7a5257f15..cd4f7a0b286 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -2398,9 +2398,11 @@ all of which are called before Emacs is actually killed. */ unlink (SSDATA (listfile)); } +#if defined (HAVE_NATIVE_COMP) && defined (WINDOWSNT) finish_delayed_disposal_of_comp_units (); dispose_all_remaining_comp_units (); clean_package_user_dir_of_old_comp_units (); +#endif if (FIXNUMP (arg)) exit_code = (XFIXNUM (arg) < 0 |