forked from enlightenment/efl
ecore: remove floating point comparison warning from Ecore main loop code.
This commit is contained in:
parent
172c07d5cd
commit
0a05725cc1
|
@ -1694,7 +1694,7 @@ _ecore_main_select(double timeout)
|
||||||
int max_fd, ret, err_no;
|
int max_fd, ret, err_no;
|
||||||
|
|
||||||
t = NULL;
|
t = NULL;
|
||||||
if ((!ECORE_FINITE(timeout)) || (timeout == 0.0)) /* finite() tests for NaN, too big, too small, and infinity. */
|
if ((!ECORE_FINITE(timeout)) || (EINA_FLT_CMP(timeout, 0.0))) /* finite() tests for NaN, too big, too small, and infinity. */
|
||||||
{
|
{
|
||||||
tv.tv_sec = 0;
|
tv.tv_sec = 0;
|
||||||
tv.tv_usec = 0;
|
tv.tv_usec = 0;
|
||||||
|
|
Loading…
Reference in New Issue