gtick-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gtick-devel] gtick and FreeBSD


From: Roland Stigge
Subject: Re: [Gtick-devel] gtick and FreeBSD
Date: Wed, 10 Sep 2003 12:19:05 +0200

Hi,

On Wed, 2003-09-10 at 08:03, Adam Weinberger wrote:
> In src/dsp.c, there is an #ifdef that checks for "FREEBSD". However,
> the symbol defined by FreeBSD is __FreeBSD__.
> 
> --- dsp.c.orig  Wed Sep 10 01:57:49 2003
> +++ dsp.c       Wed Sep 10 01:57:57 2003
> @@ -43,3 +43,3 @@
>  /* OSS headers */
> -#ifdef FREEBSD
> +#ifdef __FreeBSD__
>  #include <machine/soundcard.h>

OK, will be included in the next release.

> In src/optionlexer.c, FreeBSD -current doesn't need the stdint.h header,
> and FreeBSD -stable doesn't have a stdint.h header.
> 
> --- optionlexer.c.orig  Wed Sep 10 01:59:30 2003
> +++ optionlexer.c       Wed Sep 10 01:59:51 2003
> @@ -23,3 +23,5 @@
>  #include <stdlib.h>
> +#ifndef __FreeBSD__
>  #include <stdint.h> /* May break IA64 test-noansi-r */
> +#endif

optionlexer.c is a generated file. I observed that after regenerating it
from optionlexer.l with the latest flex, the "#include <stdint.h>" just
magically disappeared. :)

Thanks for the reports!

bye,
  Roland

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]