made preprocessor warning in bn_mp_set_double.c portable

This commit is contained in:
czurnieden 2018-12-07 20:47:51 +01:00 committed by Steffen Jaeckel
parent dc150614d9
commit 44e4986bfe

View File

@ -49,7 +49,11 @@ int mp_set_double(mp_int *a, double b)
return MP_OKAY;
}
#else
# warning "mp_set_double implementation is only available on platforms with IEEE754 floating point format"
# ifdef _MSC_VER
# pragma message("mp_set_double implementation is only available on platforms with IEEE754 floating point format")
# else
# warning "mp_set_double implementation is only available on platforms with IEEE754 floating point format"
# endif
#endif
#endif