diff --git a/src/util/macros.h b/src/util/macros.h index 491d6970d34..c05c4f95ac5 100644 --- a/src/util/macros.h +++ b/src/util/macros.h @@ -524,7 +524,7 @@ typedef int lock_cap_t; */ #define SWAP(a, b) \ do { \ - __typeof(a) __tmp = (a); \ + __typeof__(a) __tmp = (a); \ (a) = (b); \ (b) = __tmp; \ } while (0)