//// Macros typical for special conformances @@ -67,7 +69,7 @@ # include # include # include -#elif defined __unix__ || defined __linux__ +#elif defined __unix__ || defined __linux__ || defined __APPLE__ # include # include # include @@ -100,6 +102,16 @@ #if defined __TURBOC__ # undef USE_OSS_AUDIO # undef USE_ESD_AUDIO @@ -439,14 +451,14 @@ # endif #endif /* !S_ISDIR */ -#if defined __unix__ || defined __bsdi__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ || defined __TURBOC__ || defined _WIN32 +#if defined __unix__ || defined __bsdi__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ || defined __TURBOC__ || defined _WIN32 || defined __APPLE__ # define ISATTY(fd) isatty (fd) #else # define ISATTY(fd) 0 #endif // Path separator -#if defined __unix__ || defined __bsdi__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ +#if defined __unix__ || defined __bsdi__ || defined __FreeBSD__ || defined __OpenBSD__ || defined __NetBSD__ || defined __APPLE__ # define PATH_SEP '/' # define DRIVE_SEP '\0' # define EXE_EXT "" diff -NauX ../diffignore ../mppdec-1.1/wave_out.c ./wave_out.c --- ../mppdec-1.1/wave_out.c Fri Apr 4 15:23:12 2003 +++ ./wave_out.c Fri Apr 4 12:02:32 2003 @@ -742,6 +742,7 @@ int aif; (void) dummyFile; + output_endianess = machine_endianess; if ( esd_rate == 0 ) { if ( (esd = esd_open_sound (NULL)) >= 0 ) {