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