summaryrefslogtreecommitdiffstatshomepage
path: root/unix/mpconfigport.h
diff options
context:
space:
mode:
Diffstat (limited to 'unix/mpconfigport.h')
-rw-r--r--unix/mpconfigport.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h
index c449e7316f..56cfaa2ac1 100644
--- a/unix/mpconfigport.h
+++ b/unix/mpconfigport.h
@@ -117,6 +117,7 @@
#define MICROPY_PY_UHASHLIB_SHA1 (1)
#endif
#define MICROPY_PY_UBINASCII (1)
+#define MICROPY_PY_UBINASCII_CRC32 (1)
#define MICROPY_PY_URANDOM (1)
#ifndef MICROPY_PY_USELECT
#define MICROPY_PY_USELECT (1)
@@ -231,9 +232,6 @@ typedef long long mp_off_t;
typedef long mp_off_t;
#endif
-typedef void *machine_ptr_t; // must be of pointer size
-typedef const void *machine_const_ptr_t; // must be of pointer size
-
void mp_unix_alloc_exec(mp_uint_t min_size, void** ptr, mp_uint_t *size);
void mp_unix_free_exec(void *ptr, mp_uint_t size);
void mp_unix_mark_exec(void);
@@ -305,5 +303,7 @@ void mp_unix_mark_exec(void);
#define _DIRENT_HAVE_D_INO (1)
#endif
+#ifndef __APPLE__
// For debugging purposes, make printf() available to any source file.
#include <stdio.h>
+#endif