summaryrefslogtreecommitdiff
path: root/src/os_mac.h
diff options
context:
space:
mode:
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