提交 10c0d45b 编写于 作者: wmmhello's avatar wmmhello

fix: cpuid.h error in mac for M1 cpu type

上级 c557f3e6
...@@ -43,12 +43,12 @@ extern "C" { ...@@ -43,12 +43,12 @@ extern "C" {
#include <sys/utsname.h> #include <sys/utsname.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <termios.h> #include <termios.h>
#include <cpuid.h>
#if defined(DARWIN) #if defined(DARWIN)
#else #else
#include <argp.h> #include <argp.h>
#include <sys/prctl.h> #include <sys/prctl.h>
#include <cpuid.h>
#endif #endif
#else #else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册