view src/s/bsdos4.h @ 70718:f8a3f870d0c4

* sound.c (alsa_sound_perror, alsa_open, alsa_period_size) (alsa_configure, alsa_close, alsa_choose_format, alsa_write) (snd_error_quiet, alsa_init): New functions. (vox_init): Return 0 if unable to open device. (Fplay_sound_internal): Test for alsa first and use vox (oss) as a fallback. (struct sound_device): Add period_size. (wav_play, au_play): Use period_size if set.
author Jan Djärv <jan.h.d@swipnet.se>
date Thu, 18 May 2006 17:06:01 +0000
parents 695cf19ef79e
children 375f2633d815
line wrap: on
line source

/* s/ file for BSDI BSD/OS 4.0 system.  */

#include "bsdos3.h"

/* BSD/OS 4.1 and later have ncurses */
#ifdef	HAVE_LIBNCURSES
#define	TERMINFO
#define	LIBS_TERMCAP -lncurses
#endif	/* HAVE_LIBNCURSES */

/* copied from freebsd.h */
#ifdef __ELF__

#define LD_SWITCH_SYSTEM
#undef START_FILES
#define START_FILES \
	pre-crt0.o /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o
#define UNEXEC unexelf.o
#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o
#undef LIB_GCC
#define LIB_GCC

#endif /* not __ELF__ */

/* arch-tag: 7659632a-a879-4153-bb8b-3765a1463ca1
   (do not change this comment) */