mirror of
https://github.com/vim/vim.git
synced 2025-12-10 18:46:57 -05:00
patch 9.1.1925: make depend does not include osdef.h
Problem: make depend does not add osdef.h for the dependencies
(Drew Vogel)
Solution: Move ifdef PROTO (Hirohito Higashi).
fixes: #18777
closes: #18796
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
48940d94f6
commit
24af3eca68
@ -729,6 +729,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1925,
|
||||
/**/
|
||||
1924,
|
||||
/**/
|
||||
|
||||
10
src/vim.h
10
src/vim.h
@ -315,12 +315,12 @@
|
||||
// cause compilation failures even though the headers are correct. For
|
||||
// a concrete example, gcc-3.2 enforces exception specifications, and
|
||||
// glibc-2.2.5 has them in their system headers.
|
||||
#ifndef PROTO
|
||||
# if !defined(__cplusplus) && defined(UNIX) \
|
||||
&& !defined(MACOS_X) // MACOS_X doesn't yet support osdef.h
|
||||
# include "auto/osdef.h" // bring missing declarations in
|
||||
# endif
|
||||
#if !defined(__cplusplus) && defined(UNIX) \
|
||||
&& !defined(MACOS_X) // MACOS_X doesn't yet support osdef.h
|
||||
# include "auto/osdef.h" // bring missing declarations in
|
||||
#endif
|
||||
|
||||
#ifndef PROTO
|
||||
# ifdef AMIGA
|
||||
# include "os_amiga.h"
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user