compile fixes

This commit is contained in:
Mark 2004-08-14 21:44:28 +00:00
parent 566917ff46
commit f45d5f562f

View file

@ -119,12 +119,17 @@
#define _(x) (x)
#define __(x, y) (x)
#else
#ifdef HAVE_NETDB_H
char *LANGgettext(const char *string, int mylang);
/* our own defines for language support */
/* this one is for standard language support */
#define _(x) LANGgettext(x, me.lang)
/* this one is for custom langs based on chan/user struct */
#define __(x,y) LANGgettext(x,(y)->lang)
#else
#define _(x) (x)
#define __(x, y) (x)
#endif
#endif
/* If we're not using GNU C, elide __attribute__ */