Mercurial > vim
comparison src/os_unix.c @ 5411:8d83c219fc7b v7.4.056
updated for version 7.4.056
Problem: Mac: Compilation problem with OS X 10.9 Mavericks.
Solution: Include AvailabilityMacros.h when available. (Kazunobu Kuriyama)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 02 Nov 2013 21:49:32 +0100 |
parents | 965044860b7f |
children | 739074bdceb8 |
comparison
equal
deleted
inserted
replaced
5410:98ab541ce7e4 | 5411:8d83c219fc7b |
---|---|
801 * Support for using the signal stack. | 801 * Support for using the signal stack. |
802 * This helps when we run out of stack space, which causes a SIGSEGV. The | 802 * This helps when we run out of stack space, which causes a SIGSEGV. The |
803 * signal handler then must run on another stack, since the normal stack is | 803 * signal handler then must run on another stack, since the normal stack is |
804 * completely full. | 804 * completely full. |
805 */ | 805 */ |
806 | |
807 #if defined(HAVE_AVAILABILITYMACROS_H) \ | |
808 && defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) \ | |
809 && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1090) | |
810 # include <AvailabilityMacros.h> | |
811 #endif | |
806 | 812 |
807 #ifndef SIGSTKSZ | 813 #ifndef SIGSTKSZ |
808 # define SIGSTKSZ 8000 /* just a guess of how much stack is needed... */ | 814 # define SIGSTKSZ 8000 /* just a guess of how much stack is needed... */ |
809 #endif | 815 #endif |
810 | 816 |