comparison src/memline.c @ 24093:5dfee9b1eabe v8.2.2588

patch 8.2.2588: build failure with tiny features Commit: https://github.com/vim/vim/commit/23b32a8d6bd9ec83c0c6632b7a8bfa544ac0a2f1 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 10 21:55:46 2021 +0100 patch 8.2.2588: build failure with tiny features Problem: Build failure with tiny features. Solution: Add #ifdef. Run recover test separately.
author Bram Moolenaar <Bram@vim.org>
date Wed, 10 Mar 2021 22:00:04 +0100
parents cdeec1389c8c
children 4bc0bda6857d
comparison
equal deleted inserted replaced
24092:f6482a5454ab 24093:5dfee9b1eabe
1098 1098
1099 // If the system rebooted after when the swap file was written then the 1099 // If the system rebooted after when the swap file was written then the
1100 // process can't be running now. 1100 // process can't be running now.
1101 if (mch_stat((char *)swap_fname, &st) != -1 1101 if (mch_stat((char *)swap_fname, &st) != -1
1102 && sysinfo(&sinfo) == 0 1102 && sysinfo(&sinfo) == 0
1103 && st.st_mtime < time(NULL) - (override_sysinfo_uptime >= 0 1103 && st.st_mtime < time(NULL) - (
1104 ? override_sysinfo_uptime : sinfo.uptime)) 1104 # ifdef FEAT_EVAL
1105 override_sysinfo_uptime >= 0 ? override_sysinfo_uptime :
1106 # endif
1107 sinfo.uptime))
1105 return FALSE; 1108 return FALSE;
1106 #endif 1109 #endif
1107 return mch_process_running(char_to_long(b0p->b0_pid)); 1110 return mch_process_running(char_to_long(b0p->b0_pid));
1108 } 1111 }
1109 1112