diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2015-06-02 10:54:08 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2015-06-02 10:54:08 +0100 |
commit | 73d17e3c5e80c66738435cd6733e999cb9c21ca7 (patch) | |
tree | fe70a3b331cfe4876bf92bf39e89f168a3957c4e /setup.py | |
parent | ffd98a82c04642b73d76a4e60f8f58c355ae1126 (diff) | |
download | psycopg2-73d17e3c5e80c66738435cd6733e999cb9c21ca7.tar.gz |
Dropped PG_VERSION_HEX constant
At PostgreSQL 10.0 it would have become awkward.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -419,9 +419,6 @@ class psycopg_build_ext(build_ext): define_macros.append(("PG_VERSION_NUM", "%d%02d%02d" % (pgmajor, pgminor, pgpatch))) - define_macros.append(("PG_VERSION_HEX", "0x%02X%02X%02X" % - (pgmajor, pgminor, pgpatch))) - # enable lo64 if libpq >= 9.3 and Python 64 bits if (pgmajor, pgminor) >= (9, 3) and is_py_64(): define_macros.append(("HAVE_LO64", "1")) |