diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-12-25 23:29:19 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-12-27 16:12:17 +0200 |
commit | 8ab6f9067412d9f73fe88d42d81c0b4c4f1fd20b (patch) | |
tree | 1b0609e517add9bf37c10e47d13fc556657cbb9c /py/runtime0.h | |
parent | 343266ea519927a7f1bc0a27f9c8af768d1125f7 (diff) |
py: Move to guarded includes for compile.h and related headers.
Diffstat (limited to 'py/runtime0.h')
-rw-r--r-- | py/runtime0.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/py/runtime0.h b/py/runtime0.h index b6db1dd85..dc4a526d1 100644 --- a/py/runtime0.h +++ b/py/runtime0.h @@ -23,6 +23,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#ifndef __MICROPY_INCLUDED_PY_RUNTIME0_H__ +#define __MICROPY_INCLUDED_PY_RUNTIME0_H__ // taken from python source, Include/code.h // These must fit in 8 bits; see scope.h @@ -152,3 +154,5 @@ typedef enum { } mp_fun_kind_t; extern void *const mp_fun_table[MP_F_NUMBER_OF]; + +#endif // __MICROPY_INCLUDED_PY_RUNTIME0_H__ |