paulscherrerinstitute / StreamDevice

EPICS Driver for message based I/O
GNU General Public License v3.0
28 stars 42 forks source link

Fixes to build on Visual Studio 2010 #2

Closed MarkRivers closed 7 years ago

MarkRivers commented 7 years ago

devaiStream.c would not compile on Visual Studio 2010 because isnan and isinf are not defined. I used the clean solution of including epicsMath.h which defines isnan and isinf on all supported platforms. This allows removing the vxWorks specific code as well. This will only work on versions of EPICS base that include epicsMath.h. It seems to have been present since at least 3.14.8.