diff options
author | kevlo <kevlo@FreeBSD.org> | 2000-12-14 09:49:34 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2000-12-14 09:49:34 +0800 |
commit | f8e08cb1cc0c19e86ecf9c0d43bbfb38f06837d6 (patch) | |
tree | ca558a9a1b638d2fc1248720679cf83f719defa8 /audio/kdemultimedia3 | |
parent | f64bb8227f163a834ce7d0ae08bac131b59cd462 (diff) | |
download | freebsd-ports-graphics-f8e08cb1cc0c19e86ecf9c0d43bbfb38f06837d6.tar.gz freebsd-ports-graphics-f8e08cb1cc0c19e86ecf9c0d43bbfb38f06837d6.tar.zst freebsd-ports-graphics-f8e08cb1cc0c19e86ecf9c0d43bbfb38f06837d6.zip |
Add #define BE_SHORT(x)
Diffstat (limited to 'audio/kdemultimedia3')
-rw-r--r-- | audio/kdemultimedia3/files/patch-kmidi_config_h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/audio/kdemultimedia3/files/patch-kmidi_config_h b/audio/kdemultimedia3/files/patch-kmidi_config_h index 9fe8a83dcde..fc82b4c0d9a 100644 --- a/audio/kdemultimedia3/files/patch-kmidi_config_h +++ b/audio/kdemultimedia3/files/patch-kmidi_config_h @@ -8,11 +8,11 @@ -#define BE_LONG(x) __byte_swap_long(x) +# include <osreldate.h> +# if __FreeBSD_version <= 500000 -+# define LE_SHORT(x) __byte_swap_word(x) -+# define LE_LONG(x) __byte_swap_long(x) ++# define BE_SHORT(x) __byte_swap_word(x) ++# define BE_LONG(x) __byte_swap_long(x) +# else -+# define LE_SHORT(x) __uint8_swap_uint16(x) -+# define LE_LONG(x) __uint8_swap_uint32(x) ++# define BE_SHORT(x) __uint8_swap_uint16(x) ++# define BE_LONG(x) __uint8_swap_uint32(x) +# endif #else #define BE_SHORT(x) XCHG_SHORT(x) |