Mercurial > vim
comparison src/gui_w48.c @ 3927:e6d8b44065bc v7.3.719
updated for version 7.3.719
Problem: Cannot run new version of cproto, it fails on missing include
files.
Solution: Add lots of #ifndef PROTO
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 20 Nov 2012 16:53:39 +0100 |
parents | 1fec3c62f6e8 |
children | 25ea15fdfa5c |
comparison
equal
deleted
inserted
replaced
3926:3ea4cfe2d1df | 3927:e6d8b44065bc |
---|---|
23 #include "vim.h" | 23 #include "vim.h" |
24 #include "version.h" /* used by dialog box routine for default title */ | 24 #include "version.h" /* used by dialog box routine for default title */ |
25 #ifdef DEBUG | 25 #ifdef DEBUG |
26 # include <tchar.h> | 26 # include <tchar.h> |
27 #endif | 27 #endif |
28 | |
29 /* cproto fails on missing include files */ | |
30 #ifndef PROTO | |
31 | |
28 #ifndef __MINGW32__ | 32 #ifndef __MINGW32__ |
29 # include <shellapi.h> | 33 # include <shellapi.h> |
30 #endif | 34 #endif |
31 #if defined(FEAT_TOOLBAR) || defined(FEAT_BEVAL) || defined(FEAT_GUI_TABLINE) | 35 #if defined(FEAT_TOOLBAR) || defined(FEAT_BEVAL) || defined(FEAT_GUI_TABLINE) |
32 # include <commctrl.h> | 36 # include <commctrl.h> |
41 #include <windowsx.h> | 45 #include <windowsx.h> |
42 | 46 |
43 #ifdef GLOBAL_IME | 47 #ifdef GLOBAL_IME |
44 # include "glbl_ime.h" | 48 # include "glbl_ime.h" |
45 #endif | 49 #endif |
50 | |
51 #endif /* PROTO */ | |
46 | 52 |
47 #ifdef FEAT_MENU | 53 #ifdef FEAT_MENU |
48 # define MENUHINTS /* show menu hints in command line */ | 54 # define MENUHINTS /* show menu hints in command line */ |
49 #endif | 55 #endif |
50 | 56 |