From 6868130cfd92a3ec52cc099ec7ba5da12af2e4d2 Mon Sep 17 00:00:00 2001 From: 陈豪 | Jacob Chen <547884940@qq.com> Date: Sun, 29 Mar 2015 18:41:44 +0800 Subject: [bsp]x86:fix compile error when use i386.h in c++ --- bsp/x86/drivers/include/i386.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bsp/x86/drivers/include/i386.h b/bsp/x86/drivers/include/i386.h index 4b5a0e7bd0..fe023d754a 100644 --- a/bsp/x86/drivers/include/i386.h +++ b/bsp/x86/drivers/include/i386.h @@ -105,4 +105,8 @@ struct Pseudodesc { #define STS_IG32 0xe // 32-bit Interrupt Gate #define STS_TG32 0xf // 32-bit Trap Gate +#ifdef __cplusplus + } +#endif + #endif -- cgit v1.3.1