mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.1.1621: Amiga: time.h included twice
Problem: Amiga: time.h included twice. Solution: Remove include from evalfunc.c, move outside of #ifdef in os_amiga.h. (Ola Söder, closes #4607)
This commit is contained in:
parent
ba45f1f4fb
commit
80edda1cf5
@ -16,10 +16,6 @@
|
|||||||
|
|
||||||
#if defined(FEAT_EVAL) || defined(PROTO)
|
#if defined(FEAT_EVAL) || defined(PROTO)
|
||||||
|
|
||||||
#ifdef AMIGA
|
|
||||||
# include <time.h> /* for strftime() */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef VMS
|
#ifdef VMS
|
||||||
# include <float.h>
|
# include <float.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -90,10 +90,11 @@ typedef long off_t;
|
|||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
# include <limits.h>
|
# include <limits.h>
|
||||||
# include <errno.h>
|
# include <errno.h>
|
||||||
# include <time.h>
|
|
||||||
# include <dirent.h>
|
# include <dirent.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <time.h> // for strftime() and others
|
||||||
|
|
||||||
#ifndef PROTO
|
#ifndef PROTO
|
||||||
/*
|
/*
|
||||||
* arpbase.h must be included before functions.h
|
* arpbase.h must be included before functions.h
|
||||||
|
@ -777,6 +777,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1621,
|
||||||
/**/
|
/**/
|
||||||
1620,
|
1620,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user