Fix compilation on alpha.

This commit is contained in:
wiz 2000-12-27 02:01:46 +00:00
parent 227c6bc916
commit 5387c65bd9
2 changed files with 19 additions and 1 deletions

View file

@ -1,3 +1,4 @@
$NetBSD: patch-sum,v 1.1.1.1 2000/07/31 16:47:04 tron Exp $
$NetBSD: patch-sum,v 1.2 2000/12/27 02:01:46 wiz Exp $
MD5 (patch-aa) = 22342e15003c9a260c3f45fe44bcf2b1
MD5 (patch-ab) = 1b62126b675e031add0156d9b5a543e4

View file

@ -0,0 +1,17 @@
$NetBSD: patch-ab,v 1.1 2000/12/27 02:01:47 wiz Exp $
--- fitsio2.h.orig Tue Jan 11 17:12:13 2000
+++ fitsio2.h
@@ -68,6 +68,12 @@
#define BYTESWAPPED TRUE
#define LONGSIZE 64
+#elif defined(__alpha) && defined(__NetBSD__)
+
+#define MACHINE ALPHA_OSF
+#define BYTESWAPPED TRUE
+#define LONGSIZE 64
+
#elif defined(ultrix) && defined(unix)
#define MACHINE ULTRIX