Change ARRAY_SIZE to FIO_ARRAY_SIZE
[fio.git] / compiler / compiler.h
index 8988236c828a909bca94df49891508fcfc8d8945..44fa87b90cf8c5959ec76c8544aa90480b89f318 100644 (file)
@@ -62,8 +62,8 @@
 #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 FIO_FIELD_SIZE(s, f) (sizeof(((__typeof__(s))0)->f))
 #endif
 
 #ifndef __has_attribute