Mercurial > vim
comparison src/os_mswin.c @ 5594:bcf25cc08236 v7.4.144
updated for version 7.4.144
Problem: MingW also supports intptr_t for OPEN_OH_ARGTYPE.
Solution: Adjust #ifdef. (Ken Takata)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 14 Jan 2014 12:18:45 +0100 |
parents | 3881cd916014 |
children | 6b69d8dde19e |
comparison
equal
deleted
inserted
replaced
5593:88f03b93d0e5 | 5594:bcf25cc08236 |
---|---|
496 *p = psepc; | 496 *p = psepc; |
497 mb_ptr_adv(p); | 497 mb_ptr_adv(p); |
498 } | 498 } |
499 } | 499 } |
500 | 500 |
501 #if (_MSC_VER >= 1300) | 501 #if (defined(_MSC_VER) && (_MSC_VER >= 1300)) || defined(__MINGW32__) |
502 # define OPEN_OH_ARGTYPE intptr_t | 502 # define OPEN_OH_ARGTYPE intptr_t |
503 #else | 503 #else |
504 # define OPEN_OH_ARGTYPE long | 504 # define OPEN_OH_ARGTYPE long |
505 #endif | 505 #endif |
506 | 506 |