$NetBSD: patch-ag,v 1.2 2003/10/05 04:25:15 taca Exp $ --- conf.h.orig 2001-07-09 18:19:03.000000000 +0900 +++ conf.h @@ -26,17 +26,20 @@ #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__) # 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 */ @@ -522,7 +525,7 @@ #ifndef HAVE_MEMMOVE #include "common/memmove.h" -#endif HAVE_MEMMOVE +#endif /* HAVE_MEMMOVE */ #ifdef LOGWTMP #include