Mercurial > vim
comparison src/os_mac.h @ 1619:b9740fb41986
updated for version 7.2a
author | vimboss |
---|---|
date | Tue, 24 Jun 2008 20:39:31 +0000 |
parents | c2cae213194d |
children | a7c4842a0be3 |
comparison
equal
deleted
inserted
replaced
1618:46bbe11644e0 | 1619:b9740fb41986 |
---|---|
107 # define HAVE_MEMSET | 107 # define HAVE_MEMSET |
108 # define USE_TMPNAM /* use tmpnam() instead of mktemp() */ | 108 # define USE_TMPNAM /* use tmpnam() instead of mktemp() */ |
109 # define HAVE_FCNTL_H | 109 # define HAVE_FCNTL_H |
110 # define HAVE_QSORT | 110 # define HAVE_QSORT |
111 # define HAVE_ST_MODE /* have stat.st_mode */ | 111 # define HAVE_ST_MODE /* have stat.st_mode */ |
112 # define HAVE_MATH_H | |
112 | 113 |
113 # if defined(__DATE__) && defined(__TIME__) | 114 # if defined(__DATE__) && defined(__TIME__) |
114 # define HAVE_DATE_TIME | 115 # define HAVE_DATE_TIME |
115 # endif | 116 # endif |
116 # define HAVE_STRFTIME | 117 # define HAVE_STRFTIME |
215 /* | 216 /* |
216 * Macintosh has plenty of memory, use large buffers | 217 * Macintosh has plenty of memory, use large buffers |
217 */ | 218 */ |
218 #define CMDBUFFSIZE 1024 /* size of the command processing buffer */ | 219 #define CMDBUFFSIZE 1024 /* size of the command processing buffer */ |
219 | 220 |
220 #if defined(MACOS_X_UNIX) | 221 #if !defined(MACOS_X_UNIX) |
221 # define MAXPATHL 1024 | |
222 # define BASENAMELEN (MAXNAMLEN - 5) /* length of base of filename */ | |
223 #else | |
224 # define MAXPATHL 256 /* Limited by the Pascal Strings */ | 222 # define MAXPATHL 256 /* Limited by the Pascal Strings */ |
225 # define BASENAMELEN (32-5-1) /* length of base of filename */ | 223 # define BASENAMELEN (32-5-1) /* length of base of filename */ |
226 #endif | 224 #endif |
227 | 225 |
228 #ifndef DFLT_MAXMEM | 226 #ifndef DFLT_MAXMEM |