Explorar el Código

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

陈豪 | Jacob Chen hace 10 años
padre
commit
6868130cfd
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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