comparison src/gui_w32.c @ 6359:9f9058aeba0d v7.4.512

updated for version 7.4.512 Problem: Cannot generate prototypes for Win32 files and VMS. Solution: Add typedefs and #ifdef
author Bram Moolenaar <bram@vim.org>
date Wed, 12 Nov 2014 16:10:48 +0100
parents 74c65620c985
children dc96dd80aef8
comparison
equal deleted inserted replaced
6358:e83e7ad4871e 6359:9f9058aeba0d
27 27
28 #if defined(FEAT_DIRECTX) 28 #if defined(FEAT_DIRECTX)
29 # include "gui_dwrite.h" 29 # include "gui_dwrite.h"
30 #endif 30 #endif
31 31
32 #if defined(FEAT_DIRECTX) || defined(PROTO) 32 #if defined(FEAT_DIRECTX)
33 static DWriteContext *s_dwc = NULL; 33 static DWriteContext *s_dwc = NULL;
34 static int s_directx_enabled = 0; 34 static int s_directx_enabled = 0;
35 static int s_directx_load_attempted = 0; 35 static int s_directx_load_attempted = 0;
36 # define IS_ENABLE_DIRECTX() (s_directx_enabled && s_dwc != NULL) 36 # define IS_ENABLE_DIRECTX() (s_directx_enabled && s_dwc != NULL)
37 37 #endif
38
39 #if defined(FEAT_DIRECTX) || defined(PROTO)
38 int 40 int
39 directx_enabled(void) 41 directx_enabled(void)
40 { 42 {
41 if (s_dwc != NULL) 43 if (s_dwc != NULL)
42 return 1; 44 return 1;