changeset 298:19fc7a620f4f src

define B2xx macros for BEOS as for WIN32 variants; patch by Videolan team
author nicodvb
date Sat, 05 May 2007 10:32:13 +0000
parents eb96940d93e0
children f57d023eb107
files dvdread/bswap.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dvdread/bswap.h	Sun Apr 29 20:20:42 2007 +0000
+++ b/dvdread/bswap.h	Sat May 05 10:32:13 2007 +0000
@@ -71,7 +71,7 @@
  * functionality! 
  */
 
-#elif defined(__FreeBSD__) || defined(__sun) || defined(__bsdi__) || defined(WIN32) || defined(__CYGWIN__)
+#elif defined(__FreeBSD__) || defined(__sun) || defined(__bsdi__) || defined(WIN32) || defined(__CYGWIN__) || defined(__BEOS__)
 #define B2N_16(x) \
  x = ((((x) & 0xff00) >> 8) | \
       (((x) & 0x00ff) << 8))