summaryrefslogtreecommitdiff
path: root/apps/interpreters/micropython/mpconfigport.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-11 12:33:14 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-11 12:33:14 -0600
commite73fd5b2cb14a00a65037f27383b206bdeb992b8 (patch)
tree379d468b4fd372c6ac0f3cf9631996201e89eaba /apps/interpreters/micropython/mpconfigport.h
parentf7ffca8fca109e60a240c4a09a4785624eafa9db (diff)
downloadnuttx-e73fd5b2cb14a00a65037f27383b206bdeb992b8.tar.gz
nuttx-e73fd5b2cb14a00a65037f27383b206bdeb992b8.tar.bz2
nuttx-e73fd5b2cb14a00a65037f27383b206bdeb992b8.zip
A fiew Micro Python build fixes. There are still issues
Diffstat (limited to 'apps/interpreters/micropython/mpconfigport.h')
-rw-r--r--apps/interpreters/micropython/mpconfigport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/interpreters/micropython/mpconfigport.h b/apps/interpreters/micropython/mpconfigport.h
index 12724bdd9..c2cd1cf63 100644
--- a/apps/interpreters/micropython/mpconfigport.h
+++ b/apps/interpreters/micropython/mpconfigport.h
@@ -41,7 +41,6 @@
****************************************************************************/
#include <stdint.h>
-#include <wchar_t.h>
/* We need to provide a declaration/definition of alloca() */
@@ -100,6 +99,7 @@
* Public Types
****************************************************************************/
+typedef int wint_t; /* For newlib's math.h. See wchar_t */
typedef int32_t mp_int_t; /* must be pointer size */
typedef uint32_t mp_uint_t; /* must be pointer size */
typedef void *machine_ptr_t; /* must be of pointer size */