Skip to content

Commit

Permalink
修复gcc上的错误(不使用sysenter)
Browse files Browse the repository at this point in the history
  • Loading branch information
copi143 committed Dec 19, 2024
1 parent 233f206 commit 6822d51
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/define.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ extern "C" {
#include "define/config/check.h"
#include "define/config/data-structure.h"
#include "define/config/log.h"
#include "define/config/plos.h"
#include "define/config/plui.h"
#include "define/config/string-format.h"
#include "define/config/undef.h"
Expand Down
1 change: 1 addition & 0 deletions include/define/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ extern "C" {
#include "config/check.h"
#include "config/data-structure.h"
#include "config/log.h"
#include "config/plos.h"
#include "config/plui.h"
#include "config/string-format.h"
#include "config/undef.h"
Expand Down
4 changes: 4 additions & 0 deletions include/define/config/plos.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

#if __GNUC__ && !__clang__
# define SYSCALL_USE_INTERRPUT 1
#endif

0 comments on commit 6822d51

Please sign in to comment.