summaryrefslogtreecommitdiff
path: root/src/os_mac.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-06-24 20:39:31 +0000
committerBram Moolenaar <Bram@vim.org>2008-06-24 20:39:31 +0000
commita7241f5f19fd0865ce697939c347a8c88fb507d5 (patch)
treee1f1c07fe74094539286be048cc3306f6aedb0bc /src/os_mac.h
parentf233048a129fa7a3b89e064078435181d6421da5 (diff)
downloadvim-git-a7241f5f19fd0865ce697939c347a8c88fb507d5.tar.gz
updated for version 7.2a
Diffstat (limited to 'src/os_mac.h')
-rw-r--r--src/os_mac.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/os_mac.h b/src/os_mac.h
index 6effe1078..7a54ee5c5 100644
--- a/src/os_mac.h
+++ b/src/os_mac.h
@@ -109,6 +109,7 @@
# define HAVE_FCNTL_H
# define HAVE_QSORT
# define HAVE_ST_MODE /* have stat.st_mode */
+# define HAVE_MATH_H
# if defined(__DATE__) && defined(__TIME__)
# define HAVE_DATE_TIME
@@ -217,10 +218,7 @@
*/
#define CMDBUFFSIZE 1024 /* size of the command processing buffer */
-#if defined(MACOS_X_UNIX)
-# define MAXPATHL 1024
-# define BASENAMELEN (MAXNAMLEN - 5) /* length of base of filename */
-#else
+#if !defined(MACOS_X_UNIX)
# define MAXPATHL 256 /* Limited by the Pascal Strings */
# define BASENAMELEN (32-5-1) /* length of base of filename */
#endif