sys/syscall.h No such file Cygwin
<sys/syscall.h>用下面的代碼替換
#if __linux
#include <sys/syscall.h>
#elif defined(_WIN32) || defined(_WIN64)
#include <windows.h> // Or something like it.
#endif
說明:sys/syscall.h是在linux的,不是windows;在windows下可用直接屏蔽掉或者用上面的代碼替換
posted on 2022-12-08 14:41 Benjamin 閱讀(1007) 評論(0) 編輯 收藏 引用 所屬分類: C/C++