mirror of
https://github.com/abseil/abseil-cpp.git
synced 2026-06-04 12:07:05 +08:00
Don't include signal.h on wasi
This commit is contained in:
@@ -16,8 +16,12 @@
|
||||
|
||||
#if !defined(_WIN32) || defined(__MINGW32__)
|
||||
#include <pthread.h>
|
||||
#ifndef __wasi__
|
||||
// WASI does not provide this header, either way we disable use
|
||||
// of signals with it below.
|
||||
#include <signal.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <atomic>
|
||||
#include <cassert>
|
||||
|
||||
Reference in New Issue
Block a user