From: <da...@us...> - 2007-12-17 10:40:37
|
Revision: 2569 http://hugin.svn.sourceforge.net/hugin/?rev=2569&view=rev Author: dangelo Date: 2007-12-17 02:40:33 -0800 (Mon, 17 Dec 2007) Log Message: ----------- Fix compilation on linux (Kornel Benko) Modified Paths: -------------- hugin/trunk/src/hugin_base/hugin_math/hugin_math.h Modified: hugin/trunk/src/hugin_base/hugin_math/hugin_math.h =================================================================== --- hugin/trunk/src/hugin_base/hugin_math/hugin_math.h 2007-12-17 08:23:36 UTC (rev 2568) +++ hugin/trunk/src/hugin_base/hugin_math/hugin_math.h 2007-12-17 10:40:33 UTC (rev 2569) @@ -90,10 +90,10 @@ ((x > (float)INT_MAX) ? INT_MAX : static_cast<int>(x + 0.5))); } - inline isnan(double x) + inline int isnan(double x) { #ifndef _MSC_VER - return std::isnan(x) + return std::isnan(x); #else return _isnan(x); #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |