Patch 8.2.5139

2 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 20, 2022, 7:01:49 AM6/20/22
to vim...@googlegroups.com

Patch 8.2.5139
Problem: TIME_WITH_SYS_TIME is no longer supported by autoconf.
Solution: Always include time.h.
Files: src/os_unix.h


*** ../vim-8.2.5138/src/os_unix.h 2021-09-18 11:15:03.691013353 +0100
--- src/os_unix.h 2022-06-05 15:53:16.599376985 +0100
***************
*** 128,137 ****
# endif
#endif

! // on some systems time.h should not be included together with sys/time.h
! #if !defined(HAVE_SYS_TIME_H) || defined(TIME_WITH_SYS_TIME)
! # include <time.h>
! #endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
--- 128,134 ----
# endif
#endif

! #include <time.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
*** ../vim-8.2.5138/src/version.c 2022-06-20 11:37:36.740346683 +0100
--- src/version.c 2022-06-20 11:52:08.135951500 +0100
***************
*** 736,737 ****
--- 736,739 ----
{ /* Add new patch number below this line */
+ /**/
+ 5139,
/**/

--
This computer is so slow, it takes forever to execute and endless loop!

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages