git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@64033
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
esac
AC_SUBST(dlopen_libs)
+res=no
+AC_CHECK_LIB(m, lround, res=yes, res=no)
+if test "x$res" = "xyes"; then
+ AC_DEFINE(HAVE_LROUND, 1, C99 lround function exists)
+fi
+
SHM_OPEN_LINK=""
AC_MSG_CHECKING([whether shm_open() is present])
LIBS_save=${LIBS}
#include <sys/stat.h>
#include <unistd.h>
+#ifndef HAVE_LROUND
+// right now i dont care about rendering bugs on platforms without lround
+// (e.g. windows/vc++... yay!)
+#define lround(x) ((long int)(x + 0.5))
+#endif
+
/* macros needed to log message through eina_log */
extern EAPI int _evas_log_dom_global;
#ifdef _EVAS_DEFAULT_LOG_DOM