Merge pull request #6216 from dx9/wip-12406-alpine-prefixed-typeof

compat: use prefixed typeof extension

Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2015-10-18 21:12:53 -04:00
commit 0ed9088874

View File

@ -34,7 +34,7 @@
#ifndef TEMP_FAILURE_RETRY
#define TEMP_FAILURE_RETRY(expression) ({ \
typeof(expression) __result; \
__typeof(expression) __result; \
do { \
__result = (expression); \
} while (__result == -1 && errno == EINTR); \