ports/cad/magic/files/patch-misc::magic.h
Christian Weisgerber bca83beb38 Update to version 7.1, unbreak.
PR:		44106
Submitted by:	Ports Fury
2002-10-26 15:07:08 +00:00

20 lines
491 B
C

--- misc/magic.h.orig Sat Sep 22 00:15:45 2001
+++ misc/magic.h Fri Oct 11 23:38:53 2002
@@ -146,7 +146,7 @@
*
*/
-#ifdef i386
+#if defined(i386) || (defined(__alpha__) && defined(__FreeBSD__))
#define IS_LITTLE_ENDIAN /* Intel x86 processors. */
#endif
@@ -224,7 +224,7 @@
#if defined(sun) && !defined(sparc)
# define NEED_MONCNTL
#endif
-#ifdef ALPHA
+#if defined(ALPHA) || (defined(__alpha__) && defined(__FreeBSD__))
# define NEED_MONCNTL
#endif