Solaris 10+, and illumos distros have round()

This commit is contained in:
Daniel Enman 2013-04-18 16:59:26 -03:00 committed by Daniele Varrazzo
parent 29e96179f2
commit ec4aa95554

View File

@ -141,7 +141,7 @@ static int pthread_mutex_init(pthread_mutex_t *mutex, void* fake)
#endif #endif
#endif #endif
#if (defined(__FreeBSD__) && __FreeBSD_version < 503000) || (defined(_WIN32) && !defined(__GNUC__)) || defined(__sun__) || defined(sun) #if (defined(__FreeBSD__) && __FreeBSD_version < 503000) || (defined(_WIN32) && !defined(__GNUC__)) || || (defined(sun) || defined(__sun__)) && (defined(__SunOS_5_8) || defined(__SunOS_5_9))
/* what's this, we have no round function either? */ /* what's this, we have no round function either? */
static double round(double num) static double round(double num)
{ {