[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gtick-devel] gtick and FreeBSD
From: |
Adam Weinberger |
Subject: |
[Gtick-devel] gtick and FreeBSD |
Date: |
10 Sep 2003 02:03:27 -0400 |
Date: |
Wed, 10 Sep 2003 02:03:27 -0400 |
User-agent: |
Mutt/1.5.4i |
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>
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
These two changes allow gtick to compile under FreeBSD.
# Adam
--
Adam Weinberger
vectors.cx >> address@hidden >> http://www.vectors.cx
magnesium.net << address@hidden << http://www.magnesium.net/~adamw
FreeBSD >> address@hidden >> http://people.freebsd.org/~adamw
#vim:set ts=8: 8-char tabs prevent tooth decay.
- [Gtick-devel] gtick and FreeBSD,
Adam Weinberger <=