Skip to content

Commit

Permalink
UAPI: Don't have a #elif clause in a __KERNEL__ guard in linux/soundc…
Browse files Browse the repository at this point in the history
…ard.h

Don't have a #elif clause in a __KERNEL__ guard in linux/soundcard.h to make
parsing easier.

Signed-off-by: David Howells <dhowells@redhat.com>
  • Loading branch information
David Howells committed Dec 13, 2011
1 parent 989e986 commit fdc2980
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/linux/soundcard.h
Original file line number Diff line number Diff line change
Expand Up @@ -198,14 +198,16 @@ typedef struct seq_event_rec {
# else
# error "could not determine byte order"
# endif
#elif defined(__BYTE_ORDER)
#else
# if defined(__BYTE_ORDER)
# if __BYTE_ORDER == __BIG_ENDIAN
# define AFMT_S16_NE AFMT_S16_BE
# elif __BYTE_ORDER == __LITTLE_ENDIAN
# define AFMT_S16_NE AFMT_S16_LE
# else
# error "could not determine byte order"
# endif
# endif
#endif

/*
Expand Down

0 comments on commit fdc2980

Please sign in to comment.