mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
c288c72352
Submitted by: bento
26 lines
534 B
Plaintext
26 lines
534 B
Plaintext
--- timidity/config.h.orig Mon Jul 3 07:36:37 2000
|
|
+++ timidity/config.h Sat Nov 18 18:47:45 2000
|
|
@@ -159,6 +159,22 @@
|
|
# endif
|
|
#endif /* linux */
|
|
|
|
+#ifdef __FreeBSD__
|
|
+#include <errno.h>
|
|
+#include <machine/endian.h>
|
|
+#if BYTE_ORDER == LITTLE_ENDIAN
|
|
+#undef BIG_ENDIAN
|
|
+#undef PDP_ENDIAN
|
|
+#elif BYTE_ORDER == BIG_ENDIAN
|
|
+#undef LITTLE_ENDIAN
|
|
+#undef PDP_ENDIAN
|
|
+#else
|
|
+# error No valid byte sex defined
|
|
+#endif
|
|
+#define USE_LDEXP
|
|
+#define PI M_PI
|
|
+#endif
|
|
+
|
|
/* Win32 on Intel machines */
|
|
#ifdef __WIN32__
|
|
# define LITTLE_ENDIAN
|