ソースを参照

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

陈豪 | Jacob Chen 10 年 前
コミット
d642d915eb
1 ファイル変更4 行追加0 行削除
  1. 4 0
      bsp/x86/drivers/include/bsp.h

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

@@ -16,6 +16,10 @@
 
 #include <i386.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+c
 /*******************************************************************/
 /*  Timer Register  */
 /*******************************************************************/