comparison src/netbeans.c @ 1668:0b796e045c42 v7.2b.000

updated for version 7.2b-000
author vimboss
date Sun, 13 Jul 2008 17:41:49 +0000
parents 46bbe11644e0
children 734d5bdae499
comparison
equal deleted inserted replaced
1667:131dbd3d2a4b 1668:0b796e045c42
14 * which are *between* characters, whereas vim uses line number 14 * which are *between* characters, whereas vim uses line number
15 * and column number which are *on* characters. 15 * and column number which are *on* characters.
16 * See ":help netbeans-protocol" for explanation. 16 * See ":help netbeans-protocol" for explanation.
17 */ 17 */
18 18
19 #if defined(MSDOS) || defined(MSWIN) 19 #if defined(MSDOS) || defined(WIN16) || defined(WIN32) || defined(_WIN64)
20 # include "vimio.h" /* for mch_open(), must be before vim.h */ 20 # include "vimio.h" /* for mch_open(), must be before vim.h */
21 #endif 21 #endif
22 22
23 #include "vim.h" 23 #include "vim.h"
24 24
27 /* Note: when making changes here also adjust configure.in. */ 27 /* Note: when making changes here also adjust configure.in. */
28 #ifdef WIN32 28 #ifdef WIN32
29 # ifdef DEBUG 29 # ifdef DEBUG
30 # include <tchar.h> /* for _T definition for TRACEn macros */ 30 # include <tchar.h> /* for _T definition for TRACEn macros */
31 # endif 31 # endif
32 # include "vimio.h"
33 /* WinSock API is separated from C API, thus we can't use read(), write(), 32 /* WinSock API is separated from C API, thus we can't use read(), write(),
34 * errno... */ 33 * errno... */
35 # define sock_errno WSAGetLastError() 34 # define sock_errno WSAGetLastError()
36 # define ECONNREFUSED WSAECONNREFUSED 35 # define ECONNREFUSED WSAECONNREFUSED
37 # ifdef EINTR 36 # ifdef EINTR