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