[go: up one dir, main page]

File: lcintl.h

package info (click to toggle)
lincity 1.13.1-13
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 7,096 kB
  • ctags: 4,960
  • sloc: ansic: 32,750; sh: 8,578; makefile: 581; perl: 445; yacc: 316; sed: 16
file content (32 lines) | stat: -rw-r--r-- 800 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* ---------------------------------------------------------------------- *
 * lcintl.h
 * This file is part of lincity.
 * Lincity is copyright (c) I J Peters 1995-1997, (c) Greg Sharp 1997-2001.
 * ---------------------------------------------------------------------- */
#ifndef __lcintl_h__
#define __lcintl_h__

#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif

#ifdef ENABLE_NLS
#include <libintl.h>
#define _(String) gettext(String)
#if defined (commentout)  /* GCS May 11, 2003 */
#define N_(String) gettext_noop(String)
#endif
#define N_(String) String
#else
#define _(String) String
#define N_(String) String
#define textdomain(Domain)
#define bindtextdomain(Package, Directory)
#endif

/* Windows needs this */
#ifndef LC_MESSAGES
#define LC_MESSAGES 1729
#endif

#endif	/* __lcintl_h__ */