Mercurial > vim
comparison src/os_win16.h @ 3927:e6d8b44065bc v7.3.719
updated for version 7.3.719
Problem: Cannot run new version of cproto, it fails on missing include
files.
Solution: Add lots of #ifndef PROTO
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 20 Nov 2012 16:53:39 +0100 |
parents | 18ee39301b82 |
children | 04736b4030ec |
comparison
equal
deleted
inserted
replaced
3926:3ea4cfe2d1df | 3927:e6d8b44065bc |
---|---|
61 | 61 |
62 typedef long off_t; | 62 typedef long off_t; |
63 | 63 |
64 #include <stdlib.h> | 64 #include <stdlib.h> |
65 #include <time.h> | 65 #include <time.h> |
66 #include <dos.h> | |
67 #include <dir.h> | |
68 | 66 |
69 #ifndef STRICT | 67 /* cproto fails on missing include files */ |
70 # define STRICT | 68 #ifndef PROTO |
71 #endif | 69 # include <dos.h> |
72 #ifndef COBJMACROS | 70 # include <dir.h> |
73 # define COBJMACROS /* For OLE: Enable "friendlier" access to objects */ | 71 |
74 #endif | 72 # ifndef STRICT |
75 #include <windows.h> | 73 # define STRICT |
74 # endif | |
75 # ifndef COBJMACROS | |
76 # define COBJMACROS /* For OLE: Enable "friendlier" access to objects */ | |
77 # endif | |
78 # include <windows.h> | |
79 | |
80 #endif /* PROTO */ | |
76 | 81 |
77 /* | 82 /* |
78 * plenty of memory, use large buffers | 83 * plenty of memory, use large buffers |
79 */ | 84 */ |
80 #define CMDBUFFSIZE 1024 /* size of the command processing buffer */ | 85 #define CMDBUFFSIZE 1024 /* size of the command processing buffer */ |