Main Page | Data Structures | Directories | File List | Data Fields | Globals

lcintl.h

Go to the documentation of this file.
00001 /* ---------------------------------------------------------------------- *
00002  * lcintl.h
00003  * This file is part of lincity.
00004  * Lincity is copyright (c) I J Peters 1995-1997, (c) Greg Sharp 1997-2001.
00005  * ---------------------------------------------------------------------- */
00006 #ifndef __lcintl_h__
00007 #define __lcintl_h__
00008 
00009 #ifdef HAVE_LOCALE_H
00010 #include <locale.h>
00011 #endif
00012 
00013 #ifdef ENABLE_NLS
00014 #include <libintl.h>
00015 #define _(String) gettext(String)
00016 #if defined (commentout)  /* GCS May 11, 2003 */
00017 #define N_(String) gettext_noop(String)
00018 #endif
00019 #define N_(String) String
00020 #else
00021 #define _(String) String
00022 #define N_(String) String
00023 #define textdomain(Domain)
00024 #define bindtextdomain(Package, Directory)
00025 #endif
00026 
00027 /* Windows needs this */
00028 #ifndef LC_MESSAGES
00029 #define LC_MESSAGES 1729
00030 #endif
00031 
00032 #endif  /* __lcintl_h__ */

Generated on Sun Dec 26 11:23:24 2004 for lincity by  doxygen 1.3.9.1