From 28522d797a3209ede16f405b885a55e2549952f2 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 21 Aug 2007 00:16:20 +0000 Subject: * debian/local/soundcard.h: Add _PATCHKEY definition. --- debian/local/soundcard.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'debian/local') 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" -- cgit v1.2.3