rint doesn't need to be implemented for minGW

This commit is contained in:
keenanlang
2015-03-11 21:35:46 +00:00
parent 44351c99d9
commit 59aa82d19b
@@ -35,8 +35,9 @@
#define FAR_AWAY 1000000000 /*nm*/
#define UDEG_PER_REV 360000000
// Windows does not have rint()
#ifdef _WIN32
// Windows and vxWorks do not have rint(), but minGW does
#if defined __MINGW32__ || defined __MINGW64__
#elif defined _WIN32 || defined vxWorks
double rint(double x)
{
//middle value point test