Merge pull request #445 from wzyy2/master
x86: fix compile error in c++
This commit is contained in:
commit
418379c7da
|
@ -16,6 +16,10 @@
|
|||
|
||||
#include <i386.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*******************************************************************/
|
||||
/* Timer Register */
|
||||
/*******************************************************************/
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue