mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-01-31 09:24:07 +03:00
Compile again on modern FreeBSD
This commit is contained in:
parent
f9fa711f03
commit
41dd7a1095
|
@ -1,3 +1,8 @@
|
|||
2009-02-16 Federico Di Gregorio <fog@initd.org>
|
||||
|
||||
* FreeBSD now has round(). Modified config.h as suggested by
|
||||
Jeroen Ruigrok van der Werven.
|
||||
|
||||
2009-02-06 Federico Di Gregorio <fog@initd.org>
|
||||
|
||||
* Applied patch by Markus Demleitner to make executemany() return
|
||||
|
|
|
@ -129,7 +129,7 @@ static struct tm *localtime_r(time_t *t, struct tm *tm)
|
|||
#define inline
|
||||
#endif
|
||||
|
||||
#if defined(__FreeBSD__) || (defined(_WIN32) && !defined(__GNUC__)) || defined(__sun__) || defined(sun)
|
||||
#if (defined(__FreeBSD__) && __FreeBSD_version < 503000) || (defined(_WIN32) && !defined(__GNUC__)) || defined(__sun__) || defined(sun)
|
||||
/* what's this, we have no round function either? */
|
||||
static double round(double num)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user