Skip to content

Commit

Permalink
removed obsolete back-ward compability constants from common.h
Browse files Browse the repository at this point in the history
  • Loading branch information
stroeder committed Nov 18, 2017
1 parent 9eff367 commit 1721df1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Modules/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@
#include <sys/types.h>
#endif

/* Backwards compability with Python prior 2.5 */
#if PY_VERSION_HEX < 0x02050000
typedef int Py_ssize_t;
#define PY_SSIZE_T_MAX INT_MAX
#define PY_SSIZE_T_MIN INT_MIN
#endif

#include <string.h>
#define streq( a, b ) \
( (*(a)==*(b)) && 0==strcmp(a,b) )
Expand Down

0 comments on commit 1721df1

Please sign in to comment.