gcc does not have _countof?
diff --git a/dumper/dumper.c b/dumper/dumper.c
index 2de2b2b..b6109d8 100644
--- a/dumper/dumper.c
+++ b/dumper/dumper.c
@@ -9,6 +9,10 @@
 #include <string.h>
 #include <stdarg.h>
 
+#ifndef _countof
+#define _countf(x) (sizeof(x)/sizeof(x[0]))
+#endif
+
 typedef struct _FOO {
     char *      fieldName;
     int         type;