zsh-workers
 help / color / mirror / code / Atom feed
From: lists <lists@kalama.no-ip.org>
To: Zsh hackers list <zsh-workers@sunsite.dk>
Subject: Re: zsh compiling on Apple OSX v. 10.4.x
Date: Tue, 24 May 2005 19:27:02 -0500	[thread overview]
Message-ID: <FA10616D-A232-4FB8-A3CC-AB9492F683C7@kalama.no-ip.org> (raw)
In-Reply-To: <200505231433.j4NEXJ5q015746@news01.csr.com>

This worked on Mac OS 10.3 and 10.4 for me.  Thanks!

-Ryan
On May 23, 2005, at 9:33 AM, Peter Stephenson wrote:

> I don't know what definitions to use, but this shouldn't break
> anything.  I don't think autoconf allows you to undefine values; the
> easiest way to fix it there would be to avoid testing for poll() and
> poll.h at all on the appropriate systems.
>
> Index: Src/system.h
> ===================================================================
> RCS file: /cvsroot/zsh/zsh/Src/system.h,v
> retrieving revision 1.30
> diff -u -r1.30 system.h
> --- Src/system.h    24 Feb 2005 16:53:12 -0000    1.30
> +++ Src/system.h    23 May 2005 13:41:18 -0000
> @@ -300,6 +300,15 @@
>  # include <sys/socket.h>
>  #endif
>
> +#if defined(__APPLE__) && defined(HAVE_SELECT)
> +/*
> + * Prefer select() to poll() on MacOS X since poll() is known
> + * to be problematic in 10.4
> + */
> +#undef HAVE_POLL
> +#undef HAVE_POLL_H
> +#endif
> +
>  #ifdef HAVE_SYS_FILIO_H
>  # include <sys/filio.h>
>  #endif
>
> --  
> Peter Stephenson <pws@csr.com>                  Software Engineer
> CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
> Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223  
> 692070
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> **********************************************************************
>
>


      reply	other threads:[~2005-05-25  0:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <294439D0-476D-43F3-8326-8209C1F3FE9C@chemistry.ucsc.edu>
     [not found] ` <dc507f4a050523002352f05af1@mail.gmail.com>
2005-05-23 14:33   ` Peter Stephenson
2005-05-25  0:27     ` lists [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FA10616D-A232-4FB8-A3CC-AB9492F683C7@kalama.no-ip.org \
    --to=lists@kalama.no-ip.org \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).