diff options
Diffstat (limited to 'opcodes/nds32-asm.h')
-rw-r--r-- | opcodes/nds32-asm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/nds32-asm.h b/opcodes/nds32-asm.h index f273f2f..a39a50a 100644 --- a/opcodes/nds32-asm.h +++ b/opcodes/nds32-asm.h @@ -23,6 +23,10 @@ #ifndef NDS32_ASM_H #define NDS32_ASM_H +#ifdef __cplusplus +extern "C" { +#endif + /* Constant values for assembler. */ enum { @@ -294,4 +298,8 @@ extern void nds32_asm_init (nds32_asm_desc_t *, int); #define FPU_MEMBI(sub) (OP6 (COP) | N32_FPU_ ## sub | 0x1 << 7) #define AUDIO(sub) (OP6 (AEXT) | (N32_AEXT_ ## sub << 20)) +#ifdef __cplusplus +} +#endif + #endif |