summaryrefslogtreecommitdiff
blob: 49d230c3b8428d2fab9c0bfbd871c8a9b2c9d9fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)
 {