mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
a few changes to DCC so that it should be possible to send >4GB files. DCC protocol uses 32bit "n bytes transferred" notifications, so I had to bend the protocol a bit to allow 64bit files by truncating the value to lowest 32bits. I'm not sure how other clients handle those notifications, but irssi uses it only to figure out when the DCC SEND transfer is complete, so it's quite safe to assume that if we've managed to write() all the bytes and we receive the last 32bit of file size, it means the total file size instead of the total - (n+1)*4GB. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3018 dbcabf3a-b0e7-0310-adc4-f8d773084564
53 lines
1013 B
C
53 lines
1013 B
C
/* paths */
|
|
#undef SYSCONFDIR
|
|
#undef HELPDIR
|
|
#undef PLUGINSDIR
|
|
|
|
/* misc.. */
|
|
#undef HAVE_IPV6
|
|
#undef HAVE_POPT_H
|
|
#undef HAVE_SOCKS_H
|
|
#undef HAVE_PL_PERL
|
|
#undef HAVE_STATIC_PERL
|
|
#undef HAVE_GMODULE
|
|
#undef WANT_BIG5
|
|
|
|
/* macros/curses checks */
|
|
#undef HAS_CURSES
|
|
#undef USE_SUNOS_CURSES
|
|
#undef USE_BSD_CURSES
|
|
#undef USE_SYSV_CURSES
|
|
#undef USE_NCURSES
|
|
#undef NO_COLOR_CURSES
|
|
#undef SCO_FLAVOR
|
|
|
|
/* our own curses checks */
|
|
#undef HAVE_NCURSES_USE_DEFAULT_COLORS
|
|
#undef HAVE_CURSES_IDCOK
|
|
#undef HAVE_CURSES_RESIZETERM
|
|
#undef HAVE_CURSES_WRESIZE
|
|
|
|
/* terminfo/termcap */
|
|
#undef HAVE_TERMINFO
|
|
|
|
/* nls */
|
|
#undef ENABLE_NLS
|
|
#undef HAVE_CATGETS
|
|
#undef HAVE_GETTEXT
|
|
#undef HAVE_LC_MESSAGES
|
|
#undef HAVE_STPCPY
|
|
|
|
/* SSL */
|
|
#undef HAVE_OPENSSL
|
|
|
|
/* If set to 64, enables 64bit off_t for some systems (eg. Linux, Solaris) */
|
|
#undef _FILE_OFFSET_BITS
|
|
|
|
/* What type should be used for uoff_t */
|
|
#undef UOFF_T_INT
|
|
#undef UOFF_T_LONG
|
|
#undef UOFF_T_LONG_LONG
|
|
|
|
/* printf()-format for uoff_t, eg. "u" or "lu" or "llu" */
|
|
#undef PRIuUOFF_T
|