From: John Coyle Date: Fri, 9 Oct 2015 19:14:21 +0000 (-0400) Subject: compat: use prefixed typeof to support stricter environments X-Git-Tag: v10.0.0~86^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F6216%2Fhead;p=ceph.git compat: use prefixed typeof to support stricter environments Signed-off-by: John Coyle --- diff --git a/src/include/compat.h b/src/include/compat.h index 885b9c1a489..a533b3a7127 100644 --- a/src/include/compat.h +++ b/src/include/compat.h @@ -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); \