Use __typeof__ instead of typeof
[babeltrace.git] / src / common / macros.h
index 9014afc2c637d1b1df6eb31764c4815074ae03c3..5549b8576fe251bd196a79b361bc054019d76239 100644 (file)
@@ -43,7 +43,7 @@ extern "C" {
 
 #define BT_MOVE_REF(ref)               \
        ({                              \
-               typeof(ref) _ref = ref; \
+               __typeof__(ref) _ref = ref;     \
                ref = NULL;             \
                _ref;                   \
        })
This page took 0.023961 seconds and 4 git commands to generate.