diff --git a/include/define.h b/include/define.h index 88463628..d3c67183 100755 --- a/include/define.h +++ b/include/define.h @@ -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" diff --git a/include/define/config.h b/include/define/config.h index 8180e1d1..ec9b7fc3 100755 --- a/include/define/config.h +++ b/include/define/config.h @@ -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" diff --git a/include/define/config/plos.h b/include/define/config/plos.h new file mode 100644 index 00000000..66e9319f --- /dev/null +++ b/include/define/config/plos.h @@ -0,0 +1,4 @@ + +#if __GNUC__ && !__clang__ +# define SYSCALL_USE_INTERRPUT 1 +#endif