diff options
author | Marek Gilbert <mcg@google.com> | 2018-02-06 09:43:24 -0800 |
---|---|---|
committer | Marek Gilbert <mcg@google.com> | 2018-02-06 09:43:24 -0800 |
commit | 53a125580d1cd656d3d824715aceb77e84ac5128 (patch) | |
tree | 0edda7afbfe418c0f4c0a3a5fde7b0c64430aa95 /Firestore/third_party/abseil-cpp/absl/base/internal/raw_logging.cc | |
parent | 32266c5d1cf700b37900911860888bb106088220 (diff) | |
parent | 28850292d4397562dde0d108fb848b405c689d76 (diff) |
Merge commit 'abseil-mirror' into merge
Update abseil-cpp to a new upstream (#754)
Update to bf7fc9986e20f664958fc227547fd8d2fdcf863e
Diffstat (limited to 'Firestore/third_party/abseil-cpp/absl/base/internal/raw_logging.cc')
-rw-r--r-- | Firestore/third_party/abseil-cpp/absl/base/internal/raw_logging.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Firestore/third_party/abseil-cpp/absl/base/internal/raw_logging.cc b/Firestore/third_party/abseil-cpp/absl/base/internal/raw_logging.cc index 1b849ab..86e34d4 100644 --- a/Firestore/third_party/abseil-cpp/absl/base/internal/raw_logging.cc +++ b/Firestore/third_party/abseil-cpp/absl/base/internal/raw_logging.cc @@ -22,7 +22,7 @@ #include "absl/base/config.h" #include "absl/base/internal/atomic_hook.h" -#include "absl/base/internal/log_severity.h" +#include "absl/base/log_severity.h" // We know how to perform low-level writes to stderr in POSIX and Windows. For // these platforms, we define the token ABSL_LOW_LEVEL_WRITE_SUPPORTED. @@ -34,7 +34,8 @@ // // This preprocessor token is also defined in raw_io.cc. If you need to copy // this, consider moving both to config.h instead. -#if defined(__linux__) || defined(__APPLE__) || defined(__Fuchsia__) +#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || \ + defined(__Fuchsia__) #include <unistd.h> @@ -47,7 +48,7 @@ // ABSL_HAVE_SYSCALL_WRITE is defined when the platform provides the syscall // syscall(SYS_write, /*int*/ fd, /*char* */ buf, /*size_t*/ len); // for low level operations that want to avoid libc. -#if defined(__linux__) && !defined(__ANDROID__) +#if (defined(__linux__) || defined(__FreeBSD__)) && !defined(__ANDROID__) #include <sys/syscall.h> #define ABSL_HAVE_SYSCALL_WRITE 1 #define ABSL_LOW_LEVEL_WRITE_SUPPORTED 1 |