private.h

Tue, 17 Oct 2006 00:32:05 +0200

author
Tuomo Valkonen <tuomov@iki.fi>
date
Tue, 17 Oct 2006 00:32:05 +0200
changeset 103
76174c5f04b5
parent 85
9f94b2e96e3b
child 112
ccc57312b8d0
permissions
-rw-r--r--

Path fix

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