Fix VxWorks build, add explanatory comments

This commit is contained in:
Andrew Johnson
2016-04-11 11:33:05 -05:00
parent 537ebd05f2
commit ad00b6465a

View File

@@ -251,10 +251,13 @@ epicsParseFloat(const char *str, float *to, char **units)
// Sometimes we have to provide our own copy of strtoll()
#if defined(_WIN32) && !defined(_MINGW)
// On Windows with MSVC, Base-3.15 provides strtoll()
# define NEED_OLL_FUNCS (EPICS_VERSION_INT < VERSION_INT(3,15,0,1))
#elif defined(vxWorks)
// On VxWorks, Base-3.15 provides strtoll()
# define NEED_OLL_FUNCS (EPICS_VERSION_INT < VERSION_INT(3,15,0,1))
#elif defined(vxWorks) && !defined(_WRS_VXWORKS_MAJOR)
# define NEED_OLL_FUNCS 1
#else
// Other architectures all provide strtoll()
# define NEED_OLL_FUNCS 0
#endif