- Try to fix build

svn path=/trunk/; revision=40779
This commit is contained in:
Dmitry Chapyshev 2009-05-03 16:04:20 +00:00
parent 2b41ac2a04
commit 9f613d7ab5

View file

@ -272,6 +272,10 @@ extern "C" {
return sw & (FP_NAN | FP_NORMAL | FP_ZERO );
}
__CRT_INLINE int __cdecl __fpclassify (double x){
return __fpclassifyl((long double)x);
}
#define fpclassify(x) (sizeof (x) == sizeof (float) ? __fpclassifyf (x) \
: sizeof (x) == sizeof (double) ? __fpclassify (x) \
: __fpclassifyl (x))