A few fixes to make irssi work with garbage collected GLIB.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3055 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-12-10 17:31:26 +00:00 committed by cras
commit bb55d3ff4d
4 changed files with 12 additions and 4 deletions

View file

@ -52,6 +52,10 @@
# include <gmodule.h>
#endif
#ifdef USE_GC
# define g_free(x) G_STMT_START { (x) = NULL; } G_STMT_END
#endif
#if defined (UOFF_T_INT)
typedef unsigned int uoff_t;
#elif defined (UOFF_T_LONG)