Path: blob/main/astro/cfitsio/files/patch-fitsio2.h
16461 views
from astro/p5-Astro-FITS-CFITSIO build log:12/usr/local/include/fitsio2.h:271:5: error: invalid token at start of a preprocessor expression3#if MACHINE == CRAY4^5/usr/include/machine/param.h:59:18: note: expanded from macro 'MACHINE'6#define MACHINE "amd64"7^89--- fitsio2.h.orig 2023-07-21 14:37:17 UTC10+++ fitsio2.h11@@ -268,14 +268,14 @@ extern int Fitsio_Pthread_Status;1213#endif1415-#if MACHINE == CRAY16+#if 017/*18Cray machines: the large negative integer corresponds19to the 3 most sig digits set to 1. If these203 bits are set in a floating point number (64 bits), then it represents21a reserved value (i.e., a NaN)22*/23-#define fnan(L) ( (L) >= 0xE000000000000000 ? 1 : 0) )24+#define fnan(L) ( (L) >= 0xE000000000000000 ? 1 : 0)2526#else27/* these functions work for both big and little endian machines */282930