private.h

Mon, 17 Jan 2005 22:02:09 +0100

author
tuomov
date
Mon, 17 Jan 2005 22:02:09 +0100
changeset 85
9f94b2e96e3b
parent 79
81e9a32b1c0c
child 112
ccc57312b8d0
permissions
-rw-r--r--

trunk: changeset 1934
Fixed everything that requires locale stuff to check CF_NO_LOCALE.

79
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
1 /*
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
2 * libtu/private.h
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
3 *
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
4 * Copyright (c) Tuomo Valkonen 2004.
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
5 *
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
6 * You may distribute and modify this library under the terms of either
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
7 * the Clarified Artistic License or the GNU LGPL, version 2.1 or later.
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
8 */
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
9
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
10 #ifndef LIBTU_PRIVATE_H
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
11 #define LIBTU_PRIVATE_H
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
12
85
9f94b2e96e3b trunk: changeset 1934
tuomov
parents: 79
diff changeset
13 #ifndef CF_NO_LOCALE
79
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
14
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
15 #include <libintl.h>
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
16
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
17 #define TR(X) dgettext("libtu", X)
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
18
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
19 #else
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
20
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
21 #define TR(X) (X)
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
22
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
23 #endif
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
24
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
25 #define DUMMY_TR(X) X
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
26
81e9a32b1c0c trunk: changeset 1689
tuomov
parents:
diff changeset
27 #endif /* LIBTU_PRIVATE_H */

mercurial