1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Martin Hardcastle <mjh@extragalactic.info>
Date: Sun, 8 Mar 2020 08:05:49 +0000
Subject: Remove old construction that prevents compilation on new Linux
distributions
---
natgrid/Include/nnmhead.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/natgrid/Include/nnmhead.h b/natgrid/Include/nnmhead.h
index 9c0a2eb..4610df1 100644
--- a/natgrid/Include/nnmhead.h
+++ b/natgrid/Include/nnmhead.h
@@ -39,11 +39,7 @@ int datcnt, datcnt3, numtri, imag, numnei, iscale,
char tri_file[256] = {"nnalg.dat"}, error_file[256] = {"stderr"},
emsg[256];
-#ifdef __linux__
-FILE *fopen(), *filee = _IO_stderr;
-#else
FILE *fopen(), *filee = NULL;
-#endif
extern void Gradient();
extern void ErrorHnd(int, char *, FILE *, char *);
|