diff options
Diffstat (limited to 'src/common/linux')
-rw-r--r-- | src/common/linux/eintr_wrapper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/linux/eintr_wrapper.h b/src/common/linux/eintr_wrapper.h index 35e5e245..3f1d1848 100644 --- a/src/common/linux/eintr_wrapper.h +++ b/src/common/linux/eintr_wrapper.h @@ -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) { \ |