| To: vim_dev@googlegroups.com |
| Subject: Patch 7.4.512 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.4.512 |
| Problem: Cannot generate prototypes for Win32 files and VMS. |
| Solution: Add typedefs and #ifdef |
| Files: src/os_win32.c, src/gui_w32.c, src/os_vms.c |
| |
| |
| |
| |
| |
| *** 135,140 **** |
| --- 135,142 ---- |
| typedef int SE_OBJECT_TYPE; |
| typedef int PSNSECINFO; |
| typedef int PSNSECINFOW; |
| + typedef int STARTUPINFO; |
| + typedef int PROCESS_INFORMATION; |
| #endif |
| |
| #ifndef FEAT_GUI_W32 |
| |
| |
| |
| *** 29,40 **** |
| # include "gui_dwrite.h" |
| #endif |
| |
| ! #if defined(FEAT_DIRECTX) || defined(PROTO) |
| static DWriteContext *s_dwc = NULL; |
| static int s_directx_enabled = 0; |
| static int s_directx_load_attempted = 0; |
| # define IS_ENABLE_DIRECTX() (s_directx_enabled && s_dwc != NULL) |
| |
| int |
| directx_enabled(void) |
| { |
| --- 29,42 ---- |
| # include "gui_dwrite.h" |
| #endif |
| |
| ! #if defined(FEAT_DIRECTX) |
| static DWriteContext *s_dwc = NULL; |
| static int s_directx_enabled = 0; |
| static int s_directx_load_attempted = 0; |
| # define IS_ENABLE_DIRECTX() (s_directx_enabled && s_dwc != NULL) |
| + #endif |
| |
| + #if defined(FEAT_DIRECTX) || defined(PROTO) |
| int |
| directx_enabled(void) |
| { |
| |
| |
| |
| *** 12,18 **** |
| #include "vim.h" |
| |
| /* define _generic_64 for use in time functions */ |
| ! #ifndef VAX |
| # include <gen64def.h> |
| #else |
| /* based on Alpha's gen64def.h; the file is absent on VAX */ |
| --- 12,18 ---- |
| #include "vim.h" |
| |
| /* define _generic_64 for use in time functions */ |
| ! #if !defined(VAX) && !defined(PROTO) |
| # include <gen64def.h> |
| #else |
| /* based on Alpha's gen64def.h; the file is absent on VAX */ |
| |
| |
| |
| *** 743,744 **** |
| --- 743,746 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 512, |
| /**/ |
| |
| -- |
| TIM: But follow only if you are men of valour. For the entrance to this cave |
| is guarded by a monster, a creature so foul and cruel that no man yet has |
| fought with it and lived. Bones of full fifty men lie strewn about its |
| lair ... |
| "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ an exciting new programming language -- http://www.Zimbu.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |