- bd7f5fa7ad5b7f1371315d45e4e4863f2c2ad9f6 Remove unused includes from string_view.cc. by Greg Falcon <gfalcon@google.com>
- 692ef928a910fc42bf54b1683d589db4ef58686f Fix build on Mac. GitHub issue #120 reports failure_signa... by Derek Mauro <dmauro@google.com> - e5c7aded7ad19ef14c8c980b0bd0ab2ae8598bad Remove stray semicolon; by Abseil Team <absl-team@google.com> GitOrigin-RevId: bd7f5fa7ad5b7f1371315d45e4e4863f2c2ad9f6 Change-Id: I80850e9bb5eb969fb3a9a79abfd8440258857984
This commit is contained in:
parent
bd5a2bba8f
commit
f88b4e9cd8
3 changed files with 4 additions and 3 deletions
|
@ -134,6 +134,9 @@ static bool SetupAlternateStackOnce() {
|
|||
#ifdef ABSL_HAVE_MMAP
|
||||
#ifndef MAP_STACK
|
||||
#define MAP_STACK 0
|
||||
#endif
|
||||
#if defined(MAP_ANON) && !defined(MAP_ANONYMOUS)
|
||||
#define MAP_ANONYMOUS MAP_ANON
|
||||
#endif
|
||||
sigstk.ss_sp = mmap(nullptr, sigstk.ss_size, PROT_READ | PROT_WRITE,
|
||||
MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
#include <ostream>
|
||||
|
||||
#include "absl/strings/internal/memutil.h"
|
||||
#include "absl/strings/internal/resize_uninitialized.h"
|
||||
#include "absl/strings/match.h"
|
||||
|
||||
namespace absl {
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
namespace absl {
|
||||
using std::string_view;
|
||||
};
|
||||
} // namespace absl
|
||||
|
||||
#else // ABSL_HAVE_STD_STRING_VIEW
|
||||
|
||||
|
|
Loading…
Reference in a new issue