#ifdef AFS_NT40_ENV
# define AFS_INT64_FMT "I64d"
# define AFS_UINT64_FMT "I64u"
-# define AFS_PTR_FMT "p"
# define AFS_SIZET_FMT "Iu"
#else
# define AFS_INT64_FMT "lld"
# define AFS_UINT64_FMT "llu"
-# define AFS_PTR_FMT "p"
# ifdef PRINTF_TAKES_Z_LEN
# define AFS_SIZET_FMT "zu"
# else
# define AFS_NONNULL(x)
#endif
+#if defined(AFS_LINUX26_ENV) && defined(fallthrough)
+# define AFS_FALLTHROUGH fallthrough
+#elif defined(HAVE_FUNC_ATTRIBUTE_FALLTHROUGH)
+# define AFS_FALLTHROUGH __attribute__((fallthrough))
+#else
+# define AFS_FALLTHROUGH do {} while(0)
+#endif
+
/*
* Conditionally remove unreached statements under Solaris Studio.
*/