3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.144
3ef2ca
Fcc: outbox
3ef2ca
From: Bram Moolenaar <Bram@moolenaar.net>
3ef2ca
Mime-Version: 1.0
3ef2ca
Content-Type: text/plain; charset=UTF-8
3ef2ca
Content-Transfer-Encoding: 8bit
3ef2ca
------------
3ef2ca
3ef2ca
Patch 7.4.144
3ef2ca
Problem:    MingW also supports intptr_t for OPEN_OH_ARGTYPE.
3ef2ca
Solution:   Adjust #ifdef. (Ken Takata)
3ef2ca
Files:	    src/os_mswin.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.143/src/os_mswin.c	2014-01-10 13:05:12.000000000 +0100
3ef2ca
--- src/os_mswin.c	2014-01-14 12:15:30.000000000 +0100
3ef2ca
***************
3ef2ca
*** 498,504 ****
3ef2ca
      }
3ef2ca
  }
3ef2ca
  
3ef2ca
! #if (_MSC_VER >= 1300)
3ef2ca
  # define OPEN_OH_ARGTYPE intptr_t
3ef2ca
  #else
3ef2ca
  # define OPEN_OH_ARGTYPE long
3ef2ca
--- 498,504 ----
3ef2ca
      }
3ef2ca
  }
3ef2ca
  
3ef2ca
! #if (defined(_MSC_VER) && (_MSC_VER >= 1300)) || defined(__MINGW32__)
3ef2ca
  # define OPEN_OH_ARGTYPE intptr_t
3ef2ca
  #else
3ef2ca
  # define OPEN_OH_ARGTYPE long
3ef2ca
*** ../vim-7.4.143/src/version.c	2014-01-14 12:16:57.000000000 +0100
3ef2ca
--- src/version.c	2014-01-14 12:18:10.000000000 +0100
3ef2ca
***************
3ef2ca
*** 740,741 ****
3ef2ca
--- 740,743 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     144,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
hundred-and-one symptoms of being an internet addict:
3ef2ca
150. You find yourself counting emoticons to get to sleep.
3ef2ca
3ef2ca
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3ef2ca
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3ef2ca
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3ef2ca
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///