diff options
author | Samuel Thibault <sthibault@debian.org> | 2007-08-21 00:16:20 +0000 |
---|---|---|
committer | Samuel Thibault <sthibault@debian.org> | 2007-08-21 00:16:20 +0000 |
commit | 28522d797a3209ede16f405b885a55e2549952f2 (patch) | |
tree | 1a6f32464dd32354b02eb72d9b52e2096c688573 /debian/local | |
parent | c2845b75d1f594e354afc666f4ff1d22f8394f37 (diff) |
* debian/local/soundcard.h: Add _PATCHKEY definition.
Diffstat (limited to 'debian/local')
-rw-r--r-- | debian/local/soundcard.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/local/soundcard.h b/debian/local/soundcard.h index db20a717..3c32819a 100644 --- a/debian/local/soundcard.h +++ b/debian/local/soundcard.h @@ -158,8 +158,10 @@ typedef struct seq_event_rec { #if defined(__BYTE_ORDER) # if __BYTE_ORDER == __BIG_ENDIAN +# define _PATCHKEY(id) (0xfd00|id) # define AFMT_S16_NE AFMT_S16_BE # elif __BYTE_ORDER == __LITTLE_ENDIAN +# define _PATCHKEY(id) ((id<<8)|0x00fd) # define AFMT_S16_NE AFMT_S16_LE # else # error "could not determine byte order" |