diff options
Diffstat (limited to 'devel/clanlib/files/patch-soundoutput_oss.cpp')
-rw-r--r-- | devel/clanlib/files/patch-soundoutput_oss.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/clanlib/files/patch-soundoutput_oss.cpp b/devel/clanlib/files/patch-soundoutput_oss.cpp new file mode 100644 index 000000000000..6603e39bd5ac --- /dev/null +++ b/devel/clanlib/files/patch-soundoutput_oss.cpp @@ -0,0 +1,17 @@ +--- Sources/Sound/Unix/soundoutput_oss.cpp.orig Fri Aug 22 19:32:54 2003 ++++ Sources/Sound/Unix/soundoutput_oss.cpp Mon Sep 8 01:45:46 2003 +@@ -34,6 +34,14 @@ + #include <sys/select.h> + #endif + ++#if !defined(AFMT_S16_NE) ++#if defined(BYTE_ORDER) && (BYTE_ORDER == BIG_ENDIAN) ++#define AFMT_S16_NE AFMT_S16_BE ++#else ++#define AFMT_S16_NE AFMT_S16_LE ++#endif ++#endif ++ + ///////////////////////////////////////////////////////////////////////////// + // CL_SoundOutput_OSS construction: + |