diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2018-09-07 23:57:03 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2018-09-07 23:57:03 +0100 |
commit | c97266921c900345085b8beffa298ecb3746baa4 (patch) | |
tree | 07fb9a3ed4b09f5bce3d63320cdccc19e1095f6d | |
parent | fd6432977da8a6cf747c0c80d07635673137e386 (diff) | |
parent | 5d52dae286f396f9c5df27fe45e1861d5398a616 (diff) | |
download | psycopg2-c97266921c900345085b8beffa298ecb3746baa4.tar.gz |
Merge branch 'fix-bsd' into maint_2_7
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | psycopg/config.h | 3 |
2 files changed, 2 insertions, 2 deletions
@@ -6,6 +6,7 @@ What's new in psycopg 2.7.6 - Close named cursors if exist, even if `~cursor.execute()` wasn't called (:ticket:`#746`). +- Fixed building on modern FreeBSD versions with Python 3.7 (:ticket:`#755`) What's new in psycopg 2.7.5 diff --git a/psycopg/config.h b/psycopg/config.h index a96864f..6b33c2c 100644 --- a/psycopg/config.h +++ b/psycopg/config.h @@ -154,8 +154,7 @@ typedef unsigned __int64 uint64_t; #endif /* what's this, we have no round function either? */ -#if (defined(__FreeBSD__) && __FreeBSD_version < 503000) \ - || (defined(_WIN32) && !defined(__GNUC__)) \ +#if (defined(_WIN32) && !defined(__GNUC__)) \ || (defined(sun) || defined(__sun__)) \ && (defined(__SunOS_5_8) || defined(__SunOS_5_9)) |