Skip to content

Commit

Permalink
src/ALAC/EndianPortable.c : Add support for __powerpc__.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikd committed Mar 5, 2012
1 parent 5d7ecac commit 5598c67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
Use <x86intrin.h> intrinsics (ie for MinGW) when <byteswap.h> is not
present.

* src/ALAC/EndianPortable.c
Add support for __powerpc__.

2012-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>

* src/ALAC/*
Expand Down
2 changes: 2 additions & 0 deletions src/ALAC/EndianPortable.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
#define TARGET_RT_LITTLE_ENDIAN 1
#elif defined(__x86_64__)
#define TARGET_RT_LITTLE_ENDIAN 1
#elif defined(__powerpc__)
#define TARGET_RT_LITTLE_ENDIAN 0
#elif defined (TARGET_OS_WIN32)
#define TARGET_RT_LITTLE_ENDIAN 1
#endif
Expand Down

0 comments on commit 5598c67

Please sign in to comment.