From 20d6352d667cc27b9a9609c75dfe260dcfa38a4a Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Thu, 26 Oct 2006 21:19:32 +0000 Subject: [PATCH] Solaris strtod() doesn't accept "Inf" or "Infinity". --- src/libCom/osi/os/solaris/osdStrtod.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/libCom/osi/os/solaris/osdStrtod.h diff --git a/src/libCom/osi/os/solaris/osdStrtod.h b/src/libCom/osi/os/solaris/osdStrtod.h new file mode 100644 index 000000000..28fd36b9d --- /dev/null +++ b/src/libCom/osi/os/solaris/osdStrtod.h @@ -0,0 +1,15 @@ +/*************************************************************************\ +* Copyright (c) 2002 The University of Saskatchewan +* EPICS BASE Versions 3.13.7 +* and higher are distributed subject to a Software License Agreement found +* in file LICENSE that is included with this distribution. +\*************************************************************************/ + +/* + * This header fragment is intended to be included as part of epicsString.h + */ + +/* + * epicsStrtod() for systems with broken strtod() routine + */ +epicsShareFunc double epicsStrtod(const char *str, char **endp);