diff options
| author | 陈豪 | Jacob Chen <[email protected]> | 2015-03-29 18:41:44 +0800 |
|---|---|---|
| committer | 陈豪 | Jacob Chen <[email protected]> | 2015-03-29 18:41:44 +0800 |
| commit | 6868130cfd92a3ec52cc099ec7ba5da12af2e4d2 (patch) | |
| tree | 32a9b04fc67193a1e6efd3bb3d4f383033ea79c2 /bsp/x86/drivers/include | |
| parent | 9a4dacaad743801c9be2dbae49251c4e1b8f99a9 (diff) | |
[bsp]x86:fix compile error when use i386.h in c++
Diffstat (limited to 'bsp/x86/drivers/include')
| -rw-r--r-- | bsp/x86/drivers/include/i386.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |
