- 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
pull/130/head
Abseil Team 7 years ago committed by John Olson
parent bd5a2bba8f
commit f88b4e9cd8
  1. 3
      absl/debugging/failure_signal_handler.cc
  2. 2
      absl/strings/string_view.cc
  3. 2
      absl/strings/string_view.h

@ -134,6 +134,9 @@ static bool SetupAlternateStackOnce() {
#ifdef ABSL_HAVE_MMAP #ifdef ABSL_HAVE_MMAP
#ifndef MAP_STACK #ifndef MAP_STACK
#define MAP_STACK 0 #define MAP_STACK 0
#endif
#if defined(MAP_ANON) && !defined(MAP_ANONYMOUS)
#define MAP_ANONYMOUS MAP_ANON
#endif #endif
sigstk.ss_sp = mmap(nullptr, sigstk.ss_size, PROT_READ | PROT_WRITE, sigstk.ss_sp = mmap(nullptr, sigstk.ss_size, PROT_READ | PROT_WRITE,
MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0); MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, -1, 0);

@ -22,8 +22,6 @@
#include <ostream> #include <ostream>
#include "absl/strings/internal/memutil.h" #include "absl/strings/internal/memutil.h"
#include "absl/strings/internal/resize_uninitialized.h"
#include "absl/strings/match.h"
namespace absl { namespace absl {

@ -36,7 +36,7 @@
namespace absl { namespace absl {
using std::string_view; using std::string_view;
}; } // namespace absl
#else // ABSL_HAVE_STD_STRING_VIEW #else // ABSL_HAVE_STD_STRING_VIEW

Loading…
Cancel
Save