diff src/os_unix.c @ 1375:61b50044616b v7.1.090

updated for version 7.1-090
author vimboss
date Thu, 30 Aug 2007 09:47:38 +0000
parents 3d698caa5dfc
children 1d6d99daf4dc
line wrap: on
line diff
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -753,7 +753,8 @@ init_signal_stack()
     if (signal_stack != NULL)
     {
 # ifdef HAVE_SIGALTSTACK
-#  ifdef __APPLE__
+#  if defined(__APPLE__) && (!defined(MAC_OS_X_VERSION_MAX_ALLOWED) \
+		|| MAC_OS_X_VERSION_MAX_ALLOWED <= 1040)
 	/* missing prototype.  Adding it to osdef?.h.in doesn't work, because
 	 * "struct sigaltstack" needs to be declared. */
 	extern int sigaltstack __ARGS((const struct sigaltstack *ss, struct sigaltstack *oss));
@@ -5688,7 +5689,7 @@ gpm_open()
 
 /*
  * Closes connection to gpm
- * returns non-zero if connection succesfully closed
+ * returns non-zero if connection successfully closed
  */
     static void
 gpm_close()