Переглянути джерело

[bsp]x86:fix compile error when use i386.h in c++

陈豪 | Jacob Chen 10 роки тому
батько
коміт
6868130cfd
1 змінених файлів з 4 додано та 0 видалено
  1. 4 0
      bsp/x86/drivers/include/i386.h

+ 4 - 0
bsp/x86/drivers/include/i386.h

@@ -105,4 +105,8 @@ struct Pseudodesc {
 #define 	STS_IG32 			0xe		// 32-bit Interrupt Gate
 #define 	STS_IG32 			0xe		// 32-bit Interrupt Gate
 #define 	STS_TG32 			0xf		// 32-bit Trap Gate
 #define 	STS_TG32 			0xf		// 32-bit Trap Gate
 
 
+#ifdef __cplusplus
+ }
+#endif
+
 #endif
 #endif