comparison src/audio/dma/SDL_dmaaudio.c @ 35:d3bc792e136d

Added detection of Open Sound System on Solaris x86
author Sam Lantinga <slouken@lokigames.com>
date Wed, 23 May 2001 00:36:17 +0000
parents cf2af46e9e2a
children dab667b72ccc
comparison
equal deleted inserted replaced
34:27cb016592f9 35:d3bc792e136d
37 #include <sys/types.h> 37 #include <sys/types.h>
38 #include <sys/time.h> 38 #include <sys/time.h>
39 #include <sys/ioctl.h> 39 #include <sys/ioctl.h>
40 #include <sys/stat.h> 40 #include <sys/stat.h>
41 #include <sys/mman.h> 41 #include <sys/mman.h>
42 #ifdef linux
43 #include <linux/soundcard.h>
44 #endif
45 #ifdef __bsdi__
46 #include <sys/soundcard.h> 42 #include <sys/soundcard.h>
47 #endif
48 #ifdef __FreeBSD__
49 #include <machine/soundcard.h>
50 #endif
51 #ifdef __OpenBSD__
52 #include <soundcard.h>
53 #endif
54 #ifdef __USLC__
55 #include <sys/soundcard.h>
56 #endif
57 43
58 #ifndef MAP_FAILED 44 #ifndef MAP_FAILED
59 #define MAP_FAILED ((Uint8 *)-1) 45 #define MAP_FAILED ((Uint8 *)-1)
60 #endif 46 #endif
61 47