summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorOleksandr Shulgin <oleksandr.shulgin@zalando.de>2015-06-03 14:10:20 +0200
committerOleksandr Shulgin <oleksandr.shulgin@zalando.de>2015-06-03 14:10:20 +0200
commitf14521f8cb567c98814d392ba7ec196b4a7df77c (patch)
treeb2bcd74980f557bf39565c95e3bcc5f2fea55b49 /setup.py
parent44b705f88f45211a778c07f909b2aa1d91da05e6 (diff)
downloadpsycopg2-f14521f8cb567c98814d392ba7ec196b4a7df77c.tar.gz
Add libpq_support.c and win32_support.c
Move libpq-specific code for streaming replication support into a separate file. Also provide gettimeofday() on Win32, implementation copied from Postgres core.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index fc4f171..1f87520 100644
--- a/setup.py
+++ b/setup.py
@@ -462,6 +462,7 @@ data_files = []
sources = [
'psycopgmodule.c',
'green.c', 'pqpath.c', 'utils.c', 'bytes_format.c',
+ 'libpq_support.c', 'win32_support.c',
'connection_int.c', 'connection_type.c',
'cursor_int.c', 'cursor_type.c',
@@ -481,6 +482,7 @@ depends = [
'config.h', 'pgtypes.h', 'psycopg.h', 'python.h', 'connection.h',
'cursor.h', 'diagnostics.h', 'error.h', 'green.h', 'lobject.h',
'notify.h', 'pqpath.h', 'xid.h',
+ 'libpq_support.h', 'win32_support.h',
'adapter_asis.h', 'adapter_binary.h', 'adapter_datetime.h',
'adapter_list.h', 'adapter_pboolean.h', 'adapter_pdecimal.h',