Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6510)

Unified Diff: src/common/linux/eintr_wrapper.h

Issue 7824002: Fix compilation with gcc --std=c++11 Base URL: http://google-breakpad.googlecode.com/svn/trunk/
Patch Set: Fix compilation with gcc --std=c++11 Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/client/windows/tests/crash_generation_app/crash_generation_app.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/common/linux/eintr_wrapper.h
===================================================================
--- src/common/linux/eintr_wrapper.h (revision 1434)
+++ src/common/linux/eintr_wrapper.h (working copy)
@@ -37,7 +37,7 @@
//
#define HANDLE_EINTR(x) ({ \
- typeof(x) eintr_wrapper_result; \
+ __typeof__(x) eintr_wrapper_result; \
do { \
eintr_wrapper_result = (x); \
} while (eintr_wrapper_result == -1 && errno == EINTR); \
@@ -45,7 +45,7 @@
})
#define IGNORE_EINTR(x) ({ \
- typeof(x) eintr_wrapper_result; \
+ __typeof__(x) eintr_wrapper_result; \
do { \
eintr_wrapper_result = (x); \
if (eintr_wrapper_result == -1 && errno == EINTR) { \
« no previous file with comments | « src/client/windows/tests/crash_generation_app/crash_generation_app.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted