--- a/src/common/autoconfig.h.in
+++ b/src/common/autoconfig.h.in
@@ -111,11 +111,3 @@
 
 #undef _FILE_OFFSET_BITS
 #undef _LARGE_FILES
-
-/* The __FreeBSD_kernel__ thing is for debian/kfreebsd. */
-#if _FILE_OFFSET_BITS == 64 || defined(__APPLE__) || defined(__OpenBSD__) ||\
-    defined(__FreeBSD_kernel__) || (defined(__FreeBSD__) && __FreeBSD__ >= 9)
-#define OFFTPC "%lld"
-#else
-#define OFFTPC "%ld"
-#endif