projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change ARRAY_SIZE to FIO_ARRAY_SIZE
[fio.git]
/
compiler
/
compiler.h
diff --git
a/compiler/compiler.h
b/compiler/compiler.h
index 8988236c828a909bca94df49891508fcfc8d8945..44fa87b90cf8c5959ec76c8544aa90480b89f318 100644
(file)
--- a/
compiler/compiler.h
+++ b/
compiler/compiler.h
@@
-62,8
+62,8
@@
#endif
#ifdef FIO_INTERNAL
#endif
#ifdef FIO_INTERNAL
-#define ARRAY_SIZE(x) (sizeof((x)) / (sizeof((x)[0])))
-#define FIELD_SIZE(s, f) (sizeof(((__typeof__(s))0)->f))
+#define
FIO_
ARRAY_SIZE(x) (sizeof((x)) / (sizeof((x)[0])))
+#define FI
O_FI
ELD_SIZE(s, f) (sizeof(((__typeof__(s))0)->f))
#endif
#ifndef __has_attribute
#endif
#ifndef __has_attribute