mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-01-31 09:24:07 +03:00
Fixed build error on SUN
This commit is contained in:
parent
975d2286e8
commit
0319bc8cc4
|
@ -1,3 +1,7 @@
|
||||||
|
2008-05-05 Federico Di Gregorio <fog@initd.org>
|
||||||
|
|
||||||
|
* Fixed sun build problem by adding "sun" to config.h checks.
|
||||||
|
|
||||||
2006-09-01 Federico Di Gregorio <fog@initd.org>
|
2006-09-01 Federico Di Gregorio <fog@initd.org>
|
||||||
|
|
||||||
* psycopg/connection_type.c: merged in double mutex destroy patch
|
* psycopg/connection_type.c: merged in double mutex destroy patch
|
||||||
|
|
|
@ -129,7 +129,7 @@ static struct tm *localtime_r(time_t *t, struct tm *tm)
|
||||||
#define inline
|
#define inline
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__FreeBSD__) || (defined(_WIN32) && !defined(__GNUC__)) || defined(__sun__)
|
#if defined(__FreeBSD__) || (defined(_WIN32) && !defined(__GNUC__)) || defined(__sun__) || defined(sun)
|
||||||
/* 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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user