ports/databases/py-psycopg2/files/patch-psycopg-config.h
Martin Wilke e6bdf477c5 - Fix build with gcc 4.X
PR:		108063
Submitted by:	trasz <trasz@pin.if.uz.zgora.pl>
2007-01-18 00:43:18 +00:00

11 lines
339 B
C

--- psycopg/config.h.orig Thu Jan 18 01:23:39 2007
+++ psycopg/config.h Thu Jan 18 01:24:57 2007
@@ -102,7 +102,7 @@
#define inline
#endif
-#if defined(__FreeBSD__) || defined(_WIN32) || defined(__sun__)
+#if defined(_WIN32) || defined(__sun__)
/* what's this, we have no round function either? */
static double round(double num)
{