freebsd-ports/audio/xanalyser/files/patch-src_pcm.cc
Diane Bruce 74786e1406 - cleanup non-supported [1] (with changes)
- update to 1.30 [2]

PR:		ports/111694 [1]
Submitted by:	edwin [1], Diane Bruce (maintainer) [2]
Approved by:	ehaupt (mentor)
2007-04-20 21:27:48 +00:00

12 lines
337 B
C++

--- src/pcm.cc.orig Mon Apr 16 17:16:58 2007
+++ src/pcm.cc Mon Apr 16 17:26:52 2007
@@ -11,6 +11,9 @@
# include <machine/byte_swap.h>
#elif __FreeBSD__
# include <sys/endian.h>
+# define __BYTE_ORDER _BYTE_ORDER
+# define __LITTLE_ENDIAN _LITTLE_ENDIAN
+# define __BIG_ENDIAN _BIG_ENDIAN
#else
# include <byteswap.h>
#endif