2 #ifndef __SLPORTABILITY_H__
3 #define __SLPORTABILITY_H__ 1
5 /* ------------------------------------------------------------- */
6 /* OS specific includes and defines ... */
7 /* ------------------------------------------------------------- */
19 #include <sys/ioctl.h>
22 #if defined( __CYGWIN__ ) || defined( __CYGWIN32__ )
34 #if defined(__linux__) || defined(__FreeBSD__)
35 #define SL_USING_OSS_AUDIO 1
38 #ifdef SL_USING_OSS_AUDIO
39 #if defined(__linux__)
40 #include <linux/soundcard.h>
41 #elif defined(__FreeBSD__)
42 #include <machine/soundcard.h>
45 Tom thinks this file may be <sys/soundcard.h> under some
46 unixen - but that isn't where the OSS manuals say it
49 If you ever find out the truth, please email me:
50 Steve Baker <sjbaker1@airmail.net>
52 #include <soundcard.h>
57 #include <sys/audioio.h>
61 #define strcasecmp stricmp /* Yes, Steve really does *HATE* Windoze */