1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 09:09:47 +02:00
audacity/lib-src/libnyquist/kFreeBSD-nyquist.patch
2010-01-24 09:19:39 +00:00

25 lines
729 B
Diff

--- audacity-1.3.8.orig/lib-src/libnyquist/nyquist/sys/unix/switches.h
+++ audacity-1.3.8/lib-src/libnyquist/nyquist/sys/unix/switches.h
@@ -76,7 +76,7 @@
#define CPU_IS_BIG_ENDIAN 1
#endif
#else
- #ifdef __linux__
+ #if defined(__linux__) || defined(__GLIBC__)
#include <endian.h>
#if __BYTE_ORDER == __LITTLE_ENDIAN
/* Target processor is little endian. */
only in patch2:
unchanged:
--- audacity-1.3.8.orig/lib-src/libnyquist/nyquist/xlisp/xlisp.h
+++ audacity-1.3.8/lib-src/libnyquist/nyquist/xlisp/xlisp.h
@@ -143,7 +143,7 @@
#endif
/* Linux on Pentium */
-#ifdef __linux__
+#if defined(__linux__) || defined(__GLIBC__)
#include <endian.h>
#if __BYTE_ORDER == __LITTLE_ENDIAN
#define XL_LITTLE_ENDIAN