X-Git-Url: http://git.archive.openwrt.org/?p=project%2Flibubox.git;a=blobdiff_plain;f=utils.h;fp=utils.h;h=b64b40088acdddc7cb0063be8af535c2f93d39d6;hp=6a53b3f5d42595fe1714fc352cc8c85aab5419c4;hb=ace64897d47b9bc7af277d8a3f8a0ff67976cba8;hpb=92009b7f989f83f83159a43574ce5e36b7c4d5a1 diff --git a/utils.h b/utils.h index 6a53b3f..b64b400 100644 --- a/utils.h +++ b/utils.h @@ -125,7 +125,7 @@ int clock_gettime(int type, struct timespec *tv); (sizeof(int) == sizeof(*(1 ? ((void*)((long)(x) * 0l)) : (int*)1))) #define __eval_once(func, x) \ - ({ typeof(x) __x = x; func(__x); }) + ({ __typeof__(x) __x = x; func(__x); }) #define __eval_safe(func, x) \ __builtin_choose_expr(__is_constant(x), \