$NetBSD: patch-ag,v 1.3 2006/01/08 19:30:02 joerg Exp $ --- conf.h.orig 2001-07-09 09:19:03.000000000 +0000 +++ conf.h @@ -26,30 +26,33 @@ #if SIZEOF_OFF_T == SIZEOF_LONG_LONG # define LONGLONG_OFF_T +# define LONGLONG_CAST(c) (long long)(c) # ifndef LONGLONG_OPTC -# if defined(__bsdi__) || defined(__FreeBSD__) || defined(__NetBSD__) +# if defined(__bsdi__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) # define LONGLONG_OPTC "q" # elif defined( __sun__ ) # define LONGLONG_OPTC "ll" # else -# define LONGLONG_OPTC "ul" +# define LONGLONG_OPTC "lu" # endif # endif /* LONGLONG_OPTC */ #elif SIZEOF_OFF_T == SIZEOF_LONG # undef LONGLONG_OFF_T +# define LONGLONG_CAST(c) (c) +# define LONGLONG_OPTC /* */ #else # error #endif /* SIZEOF_OFF_T == SIZEOF_LONG_LONG */ /* symbol BSD44 */ -#if defined(__bsdi__) || defined(__FreeBSD__) || defined(__NetBSD__) +#if defined(__bsdi__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) #define BSD44 #else #undef BSD44 #endif /* symbol Ignore Mnt Quota */ -#if defined(__FreeBSD__) || defined(__NetBSD__) +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) #define IGNORE_MNT_QUOTA #else #undef IGNORE_MNT_QUOTA @@ -522,7 +525,7 @@ #ifndef HAVE_MEMMOVE #include "common/memmove.h" -#endif HAVE_MEMMOVE +#endif /* HAVE_MEMMOVE */ #ifdef LOGWTMP #include