diff options
Diffstat (limited to 'xpa/prsetup.h')
-rw-r--r-- | xpa/prsetup.h | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/xpa/prsetup.h b/xpa/prsetup.h deleted file mode 100644 index e629156..0000000 --- a/xpa/prsetup.h +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright (c) 1999-2003 Smithsonian Astrophysical Observatory - */ - -/* prsetup.h -- define variables for ANSI prototyping */ - -#ifndef _prsetup -#define _prsetup - -#ifdef NO_ANSI_FUNC -#define _PRbeg -#define _PRend -#define _PRx(s) () -#ifdef ANSI_FUNC -#undef ANSI_FUNC -#endif -#else -#if defined(__cplusplus) || defined(c_plusplus) -#define _PRbeg extern "C" { /* do not leave open across includes */ -#define _PRend } -#define _PRx(s) s -#define ANSI_FUNC 1 -#else -#if defined(__STDC__) -#define _PRbeg -#define _PRend -#define _PRx(s) s -#define ANSI_FUNC 1 -#else -#define _PRbeg -#define _PRend -#define _PRx(s) () -#ifdef ANSI_FUNC -#undef ANSI_FUNC -#endif -#endif -#endif -#endif - -/* the ever-present */ -#ifndef SZ_LINE -#define SZ_LINE 4096 -#endif - -#ifndef MIN -#define MIN(a,b) (((a)<(b))?(a):(b)) -#endif - -#ifndef MAX -#define MAX(a,b) (((a)>(b))?(a):(b)) -#endif - -#ifndef ABS -#define ABS(x) ((x)<0?(-(x)):(x)) -#endif - -#endif - |