use C++ name make.h
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
#include <string>
|
||||
#include <stdexcept>
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#define epicsExportSharedSymbols
|
||||
#include "epicsTimer.h"
|
||||
@@ -129,7 +129,7 @@ epicsShareFunc epicsTimerNotify::expireStatus::expireStatus
|
||||
throw std::logic_error
|
||||
( "no timer restart was requested, but a delay was specified?" );
|
||||
}
|
||||
if ( this->delay < 0.0 || !isfinite(this->delay) ) {
|
||||
if ( this->delay < 0.0 || !std::isfinite(this->delay) ) {
|
||||
throw std::logic_error
|
||||
( "timer restart was requested, but a negative delay was specified?" );
|
||||
}
|
||||
@@ -137,12 +137,12 @@ epicsShareFunc epicsTimerNotify::expireStatus::expireStatus
|
||||
|
||||
epicsShareFunc bool epicsTimerNotify::expireStatus::restart () const
|
||||
{
|
||||
return this->delay >= 0.0 && isfinite(this->delay);
|
||||
return this->delay >= 0.0 && std::isfinite(this->delay);
|
||||
}
|
||||
|
||||
epicsShareFunc double epicsTimerNotify::expireStatus::expirationDelay () const
|
||||
{
|
||||
if ( this->delay < 0.0 || !isfinite(this->delay) ) {
|
||||
if ( this->delay < 0.0 || !std::isfinite(this->delay) ) {
|
||||
throw std::logic_error
|
||||
( "no timer restart was requested, but you are asking for a restart delay?" );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user