projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'windows-s_issock' of https://github.com/aclamk/fio
[fio.git]
/
compiler
/
compiler.h
diff --git
a/compiler/compiler.h
b/compiler/compiler.h
index dacb737910c0f890de63bb5b4b3030d6fa1311fc..ddfbcc124e77ac2b1a5d7aea1640ccbc4577a331 100644
(file)
--- a/
compiler/compiler.h
+++ b/
compiler/compiler.h
@@
-28,7
+28,7
@@
*/
#define typecheck(type,x) \
({ type __dummy; \
*/
#define typecheck(type,x) \
({ type __dummy; \
-
typeof
(x) __dummy2; \
+
__typeof__
(x) __dummy2; \
(void)(&__dummy == &__dummy2); \
1; \
})
(void)(&__dummy == &__dummy2); \
1; \
})
@@
-70,7
+70,7
@@
#ifdef FIO_INTERNAL
#define ARRAY_SIZE(x) (sizeof((x)) / (sizeof((x)[0])))
#ifdef FIO_INTERNAL
#define ARRAY_SIZE(x) (sizeof((x)) / (sizeof((x)[0])))
-#define FIELD_SIZE(s, f) (sizeof(((
typeof
(s))0)->f))
+#define FIELD_SIZE(s, f) (sizeof(((
__typeof__
(s))0)->f))
#endif
#endif
#endif
#endif