summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorstijn <stinos@zoho.com>2014-05-05 12:18:27 +0200
committerstijn <stinos@zoho.com>2014-05-08 10:06:43 +0200
commit01d6be4d512118d39ef52f79ca9ddddd2bba3f32 (patch)
treee409a3f5397df34518027a2ce5f62065196f82d7 /py/mpconfig.h
parentc1c32d65af038ba1b2a2a8dd69e3f7e63eac5f3e (diff)
downloadmicropython-01d6be4d512118d39ef52f79ca9ddddd2bba3f32.tar.gz
micropython-01d6be4d512118d39ef52f79ca9ddddd2bba3f32.zip
Windows MSVC port
Extend the windows port so it compiles with the toolchain from Visual Studio 2013
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 9acfc142f5..9ff3dd77b6 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -312,4 +312,6 @@ typedef double mp_float_t;
#endif //INT_FMT
// Modifier for function which doesn't return
+#ifndef NORETURN
#define NORETURN __attribute__((noreturn))
+#endif