summaryrefslogtreecommitdiff
path: root/unix-cpy
diff options
context:
space:
mode:
authorJohn R. Lenton <jlenton@gmail.com>2014-01-05 01:57:54 +0000
committerJohn R. Lenton <jlenton@gmail.com>2014-01-05 01:57:54 +0000
commit7e73a8fd09a8070a3bbb90d2ddc4f04af4e2828a (patch)
tree606e074a1955f381c68d1689946066e9eb1a5a47 /unix-cpy
parent5d4a8213395b1e27d303379772c90b3b0adc82d5 (diff)
parent45b43c21c4f8e30dcff00c2429eddba20ca002aa (diff)
Merge remote-tracking branch 'upstream/master' into list_index
Diffstat (limited to 'unix-cpy')
-rw-r--r--unix-cpy/Makefile2
-rw-r--r--unix-cpy/mpconfigport.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/unix-cpy/Makefile b/unix-cpy/Makefile
index 48c317946..a1eb9b77e 100644
--- a/unix-cpy/Makefile
+++ b/unix-cpy/Makefile
@@ -38,11 +38,13 @@ PY_O = \
objfun.o \
objgenerator.o \
objinstance.o \
+ objint.o \
objlist.o \
objmodule.o \
objnone.o \
objrange.o \
objset.o \
+ objslice.o \
objstr.o \
objtuple.o \
objtype.o \
diff --git a/unix-cpy/mpconfigport.h b/unix-cpy/mpconfigport.h
index db72b3145..983b166a5 100644
--- a/unix-cpy/mpconfigport.h
+++ b/unix-cpy/mpconfigport.h
@@ -11,15 +11,11 @@
#ifdef __LP64__
typedef long machine_int_t; // must be pointer size
typedef unsigned long machine_uint_t; // must be pointer size
-#define UINT_FMT "%lu"
-#define INT_FMT "%ld"
#else
// These are definitions for machines where sizeof(int) == sizeof(void*),
// regardless for actual size.
typedef int machine_int_t; // must be pointer size
typedef unsigned int machine_uint_t; // must be pointer size
-#define UINT_FMT "%u"
-#define INT_FMT "%d"
#endif
#define BYTES_PER_WORD sizeof(machine_int_t)