Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abseil-cpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
abseil-cpp
Commits
abea769b
Commit
abea769b
authored
Oct 09, 2019
by
Joe Sylve
Committed by
Andy Getz
Oct 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ABSL_HAVE_ALARM check on mingw (#341)
* Fix ABSL_HAVE_ALARM check on mingw
parent
25597bdf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
absl/base/config.h
+5
-0
No files found.
absl/base/config.h
View file @
abea769b
...
@@ -334,6 +334,11 @@
...
@@ -334,6 +334,11 @@
#define ABSL_HAVE_ALARM 1
#define ABSL_HAVE_ALARM 1
#elif defined(_MSC_VER)
#elif defined(_MSC_VER)
// feature tests for Microsoft's library
// feature tests for Microsoft's library
#elif defined(__MINGW32__)
// mingw32 doesn't provide alarm(2):
// https://osdn.net/projects/mingw/scm/git/mingw-org-wsl/blobs/5.2-trunk/mingwrt/include/unistd.h
// mingw-w64 provides a no-op implementation:
// https://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-crt/misc/alarm.c
#elif defined(__EMSCRIPTEN__)
#elif defined(__EMSCRIPTEN__)
// emscripten doesn't support signals
// emscripten doesn't support signals
#elif defined(__Fuchsia__)
#elif defined(__Fuchsia__)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment