summaryrefslogtreecommitdiff
path: root/src/os_mac.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-11-02 21:04:38 +0100
committerBram Moolenaar <Bram@vim.org>2013-11-02 21:04:38 +0100
commit2b1b53f5d9674c6fc41eab86178e3dcfd948d297 (patch)
treef3e3213243a14b84a905b96bd027381abb572aa8 /src/os_mac.h
parent1180822670e987ef204dfbf24e55fc09eed89650 (diff)
downloadvim-git-2b1b53f5d9674c6fc41eab86178e3dcfd948d297.tar.gz
updated for version 7.4.055v7.4.055
Problem: Mac: Where availability macros are defined depends on the system. Solution: Add a configure check. (Felix Bünemann)
Diffstat (limited to 'src/os_mac.h')
-rw-r--r--src/os_mac.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/os_mac.h b/src/os_mac.h
index 78b79c2e1..c13a30158 100644
--- a/src/os_mac.h
+++ b/src/os_mac.h
@@ -16,6 +16,11 @@
# define OPAQUE_TOOLBOX_STRUCTS 0
#endif
+/* Include MAC_OS_X_VERSION_* macros */
+#ifdef HAVE_AVAILABILITYMACROS_H
+# include <AvailabilityMacros.h>
+#endif
+
/*
* Macintosh machine-dependent things.
*
@@ -263,7 +268,7 @@
#endif
/* Some "prep work" definition to be able to compile the MacOS X
- * version with os_unix.x instead of os_mac.c. Based on the result
+ * version with os_unix.c instead of os_mac.c. Based on the result
* of ./configure for console MacOS X.
*/