diff options
author | Steve Price <steve@FreeBSD.org> | 1999-05-24 02:18:54 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-05-24 02:18:54 +0000 |
commit | 1d64b9c2dfcb754994c7eea687223235ee1e509d (patch) | |
tree | 41be62991549463d5337d455dc1a6d0c632eb8b0 /cad | |
parent | Don't depend on machine/trap.h so this builds on an Alpha box too. (diff) |
Fix build for Alpha boxes.
Notes
Notes:
svn path=/head/; revision=18966
Diffstat (limited to 'cad')
-rw-r--r-- | cad/magic/files/patch-ac | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/cad/magic/files/patch-ac b/cad/magic/files/patch-ac new file mode 100644 index 000000000000..9ad58fbb17b2 --- /dev/null +++ b/cad/magic/files/patch-ac @@ -0,0 +1,20 @@ +--- misc/magic.h.orig Wed Sep 11 15:23:25 1996 ++++ misc/magic.h Sun Apr 25 22:32:12 1999 +@@ -166,7 +166,7 @@ + * + */ + +-#ifdef i386 ++#if defined(i386) || (defined(__alpha__) && defined(__FreeBSD__)) + #define IS_LITTLE_ENDIAN /* Intel x86 processors. */ + #endif + +@@ -244,7 +244,7 @@ + #if defined(sun) && !defined(sparc) + # define NEED_MONCNTL + #endif +-#ifdef ALPHA ++#if defined(ALPHA) || (defined(__alpha__) && defined(__FreeBSD__)) + # define NEED_MONCNTL + #endif + |