Merge "Use __typeof__() instead of typeof()"

This commit is contained in:
Dan Albert 2014-05-27 21:57:24 +00:00 committed by Gerrit Code Review
commit 134911d75d

View file

@ -207,7 +207,7 @@ extern int setdomainname(const char *, size_t);
/* Used to retry syscalls that can return EINTR. */
#define TEMP_FAILURE_RETRY(exp) ({ \
typeof (exp) _rc; \
__typeof__(exp) _rc; \
do { \
_rc = (exp); \
} while (_rc == -1 && errno == EINTR); \