diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2018-01-10 22:24:05 +0000 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2018-01-10 22:29:16 +0000 |
commit | 77c703395befce2cc87a18a5ec706f5500f04f04 (patch) | |
tree | fac0b923cd5c8c354ae0b8d79028cf5b3bff684c /psycopg/adapter_datetime.c | |
parent | 3fcb0351265e3077ee4088ba6e90016e5735a2a1 (diff) | |
download | psycopg2-77c703395befce2cc87a18a5ec706f5500f04f04.tar.gz |
Moved datatime compatibility macros with others
Diffstat (limited to 'psycopg/adapter_datetime.c')
-rw-r--r-- | psycopg/adapter_datetime.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/psycopg/adapter_datetime.c b/psycopg/adapter_datetime.c index b5135ef..a78311e 100644 --- a/psycopg/adapter_datetime.c +++ b/psycopg/adapter_datetime.c @@ -93,12 +93,6 @@ error: return rv; } -#ifndef PyDateTime_DELTA_GET_DAYS -#define PyDateTime_DELTA_GET_DAYS(o) (o->days) -#define PyDateTime_DELTA_GET_SECONDS(o) (o->seconds) -#define PyDateTime_DELTA_GET_MICROSECONDS(o) (o->microseconds) -#endif - static PyObject * _pydatetime_string_delta(pydatetimeObject *self) { |