1 /* ---------------------------------------------------------------------- * 2 * lcintl.h 3 * This file is part of lincity. 4 * Lincity is copyright (c) I J Peters 1995-1997, (c) Greg Sharp 1997-2001. 5 * ---------------------------------------------------------------------- */ 6 #ifndef __lcintl_h__ 7 #define __lcintl_h__ 8 9 #ifdef HAVE_LOCALE_H 10 #include <locale.h> 11 #endif 12 13 #ifdef ENABLE_NLS 14 #include <libintl.h> 15 #define _(String) gettext(String) 16 #if defined (commentout) /* GCS May 11, 2003 */ 17 #define N_(String) gettext_noop(String) 18 #endif 19 #define N_(String) String 20 #else 21 #define _(String) String 22 #define N_(String) String 23 #define textdomain(Domain) 24 #define bindtextdomain(Package, Directory) 25 #endif 26 27 /* Windows needs this */ 28 #ifndef LC_MESSAGES 29 #define LC_MESSAGES 1729 30 #endif 31 32 #endif /* __lcintl_h__ */ 33