diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-06-30 09:09:24 +0100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-06-30 09:09:24 +0100 |
| commit | 4039a266793f8bb3af24482b3d08b2dcef51e268 (patch) | |
| tree | 5f5f3c9b59d7cfc7ef42e812f060de4c00bb6fe8 /py/mpconfig.h | |
| parent | b601d9574ad03a18d3eb476d631f547c7ea28243 (diff) | |
| parent | 89b38d96c9e1dc45d6648268db28aec6e4d1fd8e (diff) | |
Merge pull request #710 from iabdalkader/assert
Fix assert_func warning/error
Diffstat (limited to 'py/mpconfig.h')
| -rw-r--r-- | py/mpconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 0dd84d1f8..3a9d342ea 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -404,3 +404,8 @@ typedef double mp_float_t; #ifndef NORETURN #define NORETURN __attribute__((noreturn)) #endif + +// Modifier for weak functions +#ifndef MP_WEAK +#define MP_WEAK __attribute__((weak)) +#endif |
