diff options
-rw-r--r-- | debian/changelog | 3 | ||||
-rw-r--r-- | debian/local/soundcard.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index ae4bd3dd..b18b075c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ hurd (20070606-4) UNRELEASED; urgency=low - * + [ Samuel Thibault ] + * debian/local/soundcard.h: Add _PATCHKEY definition. -- Michael Banck <mbanck@debian.org> Thu, 16 Aug 2007 16:55:53 +0200 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" |