Define these, in case they are still unfound on x64

This commit is contained in:
Chris Cannam
2015-06-29 16:12:44 +01:00
parent 6f86b96391
commit f57e65a881

View File

@@ -38,7 +38,13 @@
** long int lrint (double x) ;
*/
#if ((defined (WIN32) || defined (_WIN32)) && !defined (_WIN64))
#if (defined (_WIN64))
#include <math.h>
__inline long int lrint(double flt) { return (long int)flt; }
__inline long int lrintf(float flt) { return (long int)flt; }
#elif (defined (WIN32) || defined (_WIN32))
#include <math.h>