summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <sthibault@debian.org>2007-08-21 00:16:20 +0000
committerSamuel Thibault <sthibault@debian.org>2007-08-21 00:16:20 +0000
commit28522d797a3209ede16f405b885a55e2549952f2 (patch)
tree1a6f32464dd32354b02eb72d9b52e2096c688573
parentc2845b75d1f594e354afc666f4ff1d22f8394f37 (diff)
* debian/local/soundcard.h: Add _PATCHKEY definition.
-rw-r--r--debian/changelog3
-rw-r--r--debian/local/soundcard.h2
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"