blob: 49d230c3b8428d2fab9c0bfbd871c8a9b2c9d9fc [file] [log] [blame]
round() is available on Solaris
--- psycopg/config.h
+++ psycopg/config.h
@@ -102,7 +102,7 @@
#define inline
#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__))
/* what's this, we have no round function either? */
static double round(double num)
{