diff options
author | Damien George <damien.p.george@gmail.com> | 2015-01-01 18:07:43 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-01-01 18:07:43 +0000 |
commit | ebde3c694f301a99addf02c3b8ff3834f04663af (patch) | |
tree | 108d34fc69d8e45d0a1bbd8e1046cee15c159d19 /py/asmarm.h | |
parent | ddbcc795509bdd4957e876189577fdada0d486ac (diff) | |
download | micropython-ebde3c694f301a99addf02c3b8ff3834f04663af.tar.gz micropython-ebde3c694f301a99addf02c3b8ff3834f04663af.zip |
py: Add guarded includes for asm-based headers.
Diffstat (limited to 'py/asmarm.h')
-rw-r--r-- | py/asmarm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py/asmarm.h b/py/asmarm.h index 378b676098..c9819cdaba 100644 --- a/py/asmarm.h +++ b/py/asmarm.h @@ -24,6 +24,10 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#ifndef __MICROPY_INCLUDED_PY_ASMARM_H__ +#define __MICROPY_INCLUDED_PY_ASMARM_H__ + +#include "py/misc.h" #define ASM_ARM_PASS_COMPUTE (1) #define ASM_ARM_PASS_EMIT (2) @@ -120,3 +124,4 @@ void asm_arm_bcc_label(asm_arm_t *as, int cond, uint label); void asm_arm_b_label(asm_arm_t *as, uint label); void asm_arm_bl_ind(asm_arm_t *as, void *fun_ptr, uint fun_id, uint reg_temp); +#endif // __MICROPY_INCLUDED_PY_ASMARM_H__ |