private.h

Mon, 20 Apr 2020 10:14:32 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Mon, 20 Apr 2020 10:14:32 -0500
changeset 119
87e3bb5086e8
parent 112
ccc57312b8d0
permissions
-rw-r--r--

Convert README to markdown

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
112
ccc57312b8d0 CF_NO_GETTEXT
Tuomo Valkonen <tuomov@iki.fi>
parents: 85
diff changeset
13 #ifndef CF_NO_GETTEXT
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