From fde879062d2fd0217f441207a057f089efaf870c Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 14 Apr 2008 18:50:32 +0000 Subject: [PATCH] Some versions of Solaris define isinf() macro. --- src/libCom/osi/os/solaris/epicsMath.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/libCom/osi/os/solaris/epicsMath.h b/src/libCom/osi/os/solaris/epicsMath.h index 54f3e5458..0f714acde 100644 --- a/src/libCom/osi/os/solaris/epicsMath.h +++ b/src/libCom/osi/os/solaris/epicsMath.h @@ -1,19 +1,19 @@ /*************************************************************************\ -* Copyright (c) 2002 The University of Chicago, as Operator of Argonne +* Copyright (c) 2008 UChicago Argonne, LLC as Operator of Argonne * National Laboratory. -* Copyright (c) 2002 The Regents of the University of California, as -* Operator of Los Alamos National Laboratory. -* EPICS BASE Versions 3.13.7 -* and higher are distributed subject to a Software License Agreement found +* EPICS BASE is distributed subject to a Software License Agreement found * in file LICENSE that is included with this distribution. \*************************************************************************/ -#ifndef epicsMathh -#define epicsMathh +#ifndef INC_epicsMath_H +#define INC_epicsMath_H #include #include -#define isinf(x) (((x)==(x)) && !finite((x))) -/* same as (!isnan(x) && !finite(x)) */ -#endif /* epicsMathh */ +#ifndef isinf +# define isinf(x) (((x)==(x)) && !finite((x))) +/* same as (!isnan(x) && !finite(x)) */ +#endif + +#endif /* INC_epicsMath_H */