ifdeffed a few things to make clang happy
diff --git a/aos/common/macros.h b/aos/common/macros.h
index a2a7891..21482f6 100644
--- a/aos/common/macros.h
+++ b/aos/common/macros.h
@@ -30,7 +30,11 @@
 // probably safer.
 #define GOOD_PRINTF_FORMAT_TYPE printf
 #else
+#ifdef __clang__
+#define GOOD_PRINTF_FORMAT_TYPE __printf__
+#else
 #define GOOD_PRINTF_FORMAT_TYPE gnu_printf
 #endif
+#endif
 
 #endif  // _AOS_COMMON_MACROS_H_