mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.4.512
Problem: Cannot generate prototypes for Win32 files and VMS. Solution: Add typedefs and #ifdef
This commit is contained in:
@@ -29,12 +29,14 @@
|
|||||||
# include "gui_dwrite.h"
|
# include "gui_dwrite.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(FEAT_DIRECTX) || defined(PROTO)
|
#if defined(FEAT_DIRECTX)
|
||||||
static DWriteContext *s_dwc = NULL;
|
static DWriteContext *s_dwc = NULL;
|
||||||
static int s_directx_enabled = 0;
|
static int s_directx_enabled = 0;
|
||||||
static int s_directx_load_attempted = 0;
|
static int s_directx_load_attempted = 0;
|
||||||
# define IS_ENABLE_DIRECTX() (s_directx_enabled && s_dwc != NULL)
|
# define IS_ENABLE_DIRECTX() (s_directx_enabled && s_dwc != NULL)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(FEAT_DIRECTX) || defined(PROTO)
|
||||||
int
|
int
|
||||||
directx_enabled(void)
|
directx_enabled(void)
|
||||||
{
|
{
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#include "vim.h"
|
#include "vim.h"
|
||||||
|
|
||||||
/* define _generic_64 for use in time functions */
|
/* define _generic_64 for use in time functions */
|
||||||
#ifndef VAX
|
#if !defined(VAX) && !defined(PROTO)
|
||||||
# include <gen64def.h>
|
# include <gen64def.h>
|
||||||
#else
|
#else
|
||||||
/* based on Alpha's gen64def.h; the file is absent on VAX */
|
/* based on Alpha's gen64def.h; the file is absent on VAX */
|
||||||
|
@@ -135,6 +135,8 @@ typedef int BY_HANDLE_FILE_INFORMATION;
|
|||||||
typedef int SE_OBJECT_TYPE;
|
typedef int SE_OBJECT_TYPE;
|
||||||
typedef int PSNSECINFO;
|
typedef int PSNSECINFO;
|
||||||
typedef int PSNSECINFOW;
|
typedef int PSNSECINFOW;
|
||||||
|
typedef int STARTUPINFO;
|
||||||
|
typedef int PROCESS_INFORMATION;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef FEAT_GUI_W32
|
#ifndef FEAT_GUI_W32
|
||||||
|
@@ -741,6 +741,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 */
|
||||||
|
/**/
|
||||||
|
512,
|
||||||
/**/
|
/**/
|
||||||
511,
|
511,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user