Changeset 560


Ignore:
Timestamp:
Nov 20, 2015, 11:27:28 AM (4 years ago)
Author:
cito
Message:

Remove some more code for Python < 2.5 in the trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/module/pgmodule.c

    r550 r560  
    5454static const char *PyPgVersion = TOSTRING(PYGRESQL_VERSION);
    5555
    56 #ifndef IS_PY3K
    57 #if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN)
    58 typedef int Py_ssize_t;
    59 #define PY_SSIZE_T_MAX INT_MAX
    60 #define PY_SSIZE_T_MIN INT_MIN
    61 #endif
    62 #endif
    63 
    64 #if PY_VERSION_HEX >= 0x02050000 && SIZEOF_SIZE_T != SIZEOF_INT
     56#if SIZEOF_SIZE_T != SIZEOF_INT
    6557#define Py_InitModule4 Py_InitModule4_64
    6658#endif
Note: See TracChangeset for help on using the changeset viewer.