summaryrefslogtreecommitdiffstatshomepage
path: root/unix-cpy
diff options
context:
space:
mode:
authorJohn R. Lenton <jlenton@gmail.com>2014-01-04 01:36:10 +0000
committerJohn R. Lenton <jlenton@gmail.com>2014-01-04 01:36:10 +0000
commitf1c6ad46afa3eaf6df999cd51eb406110b6cac69 (patch)
tree157c99083d73b5fb2e74994601c7381a7de1300b /unix-cpy
parent45a87446179c0c629a2ae89e24fa61919a57c0e5 (diff)
parentc8d1384fc0c7aafa5dee3445ece20f4e43dfa9c1 (diff)
downloadmicropython-f1c6ad46afa3eaf6df999cd51eb406110b6cac69.tar.gz
micropython-f1c6ad46afa3eaf6df999cd51eb406110b6cac69.zip
Merge remote-tracking branch 'upstream/master' into list_insert
Diffstat (limited to 'unix-cpy')
-rw-r--r--unix-cpy/Makefile1
-rw-r--r--unix-cpy/mpconfigport.h4
2 files changed, 1 insertions, 4 deletions
diff --git a/unix-cpy/Makefile b/unix-cpy/Makefile
index 48c3179460..7fee3438fb 100644
--- a/unix-cpy/Makefile
+++ b/unix-cpy/Makefile
@@ -43,6 +43,7 @@ PY_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 db72b31455..983b166a55 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)