From 6561a08a331d86c234422c8d65e1e92b0cba55a1 Mon Sep 17 00:00:00 2001 From: Juergen Keil Date: Sun, 15 Dec 2002 16:38:04 +0000 Subject: The _XOPEN_SOURCE define for getting a swab() prototype confuses the solaris build of the arts audio driver (because a defined _XOPEN_SOURCE removes solaris extensions from the system's header files, only stuff defined by XOPEN is visable). Btw. swab() is not used at all in this file. Maybe the _XOPEN_SOURCE define should be removed ? CVS patchset: 3543 CVS date: 2002/12/15 16:38:04 --- src/audio_out/audio_arts_out.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/audio_out/audio_arts_out.c b/src/audio_out/audio_arts_out.c index 9dedea417..97b5af9b8 100644 --- a/src/audio_out/audio_arts_out.c +++ b/src/audio_out/audio_arts_out.c @@ -17,11 +17,13 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: audio_arts_out.c,v 1.18 2002/12/06 01:00:16 miguelfreitas Exp $ + * $Id: audio_arts_out.c,v 1.19 2002/12/15 16:38:04 jkeil Exp $ */ -/* required for swab() */ +#ifndef __sun /* _XOPEN_SOURCE causes build prob's on sunos */ +/* required for swab() */ /* XXX: but swab is not used here at all? */ #define _XOPEN_SOURCE 500 +#endif #ifdef HAVE_CONFIG_H #include "config.h" -- cgit v1.2.3