Mercurial > emacs
view src/s/386bsd.h @ 30079:1572612184fc
Sound support for NetBSD through "Linux emulation" support:
* config.in (HAVE_SOUNDCARD_H): Undef.
(HAVE_SOUND): Define if HAVE_SOUNDCARD_H.
* Makefile.in (LIBSOUND): New variable.
(LIBES): Include it.
* sound.c [HAVE_SOUNDCARD_H]: Include <sys/ioctl.h> and <soundcard.h>.
(DEFAULT_SOUND_DEVICE): Define to "/dev/dsp" if not defined elsewhere.
(vox_open): Use DEFAULT_SOUND_DEVICE.
* s/netbsd.h (DEFAULT_SOUND_DEVICE): Define to /dev/audio.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Wed, 05 Jul 2000 19:33:00 +0000 |
parents | 0cbb394cbd82 |
children | 23a1cea22d13 |
line wrap: on
line source
/* s/ file for 386bsd system. */ /* Get most of the stuff from bsd4.3 */ #include "bsd4-3.h" #undef LIB_STANDARD #define LIB_STANDARD -lc $(GNULIB_VAR) /* The following should be set to /netbsd if you are running netbsd > 0.8 Or just link /netbsd -> /386bsd */ #undef KERNEL_FILE #define KERNEL_FILE "/386bsd" #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) /* Need to use GNU make, as system make has problems */ #define MAKE_COMMAND gmake #define LIBS_DEBUG /* For mem-limits.h. */ #define BSD4_2 /* This affects a declaration in xrdb.c. */ #define DECLARE_GETPWUID_WITH_UID_T