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) | |
{ |