summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpconfig.h
diff options
context:
space:
mode:
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 275147886c..119859a3a4 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -317,4 +317,6 @@ typedef double mp_float_t;
#endif //INT_FMT
// Modifier for function which doesn't return
+#ifndef NORETURN
#define NORETURN __attribute__((noreturn))
+#endif