diff options
author | Abseil Team <absl-team@google.com> | 2018-05-08T16·59-0700 |
---|---|---|
committer | John Olson <jolson@google.com> | 2018-05-08T18·35-0400 |
commit | f88b4e9cd876905ee694cee1720095330e0bd20f (patch) | |
tree | 778f42d30797417381f459a321e12cc7ba8bb95e /absl/debugging | |
parent | bd5a2bba8f4238db2e06c99ac808fc8327dec2a0 (diff) |
- 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
Diffstat (limited to 'absl/debugging')
-rw-r--r-- | absl/debugging/failure_signal_handler.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/absl/debugging/failure_signal_handler.cc b/absl/debugging/failure_signal_handler.cc index 3aaa29f70759..46ef7b8f5a2f 100644 --- a/absl/debugging/failure_signal_handler.cc +++ b/absl/debugging/failure_signal_handler.cc @@ -135,6 +135,9 @@ static bool SetupAlternateStackOnce() { #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); if (sigstk.ss_sp == MAP_FAILED) { |