comparison src/xmms-sid.h @ 619:6f9c5bb127e6

Moved NLS macros to xs_support.h
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 02 Sep 2007 22:13:05 +0000
parents 32fc27395220
children d7389ea52113
comparison
equal deleted inserted replaced
618:ddae043e8e47 619:6f9c5bb127e6
27 #include <pthread.h> 27 #include <pthread.h>
28 28
29 #ifdef __cplusplus 29 #ifdef __cplusplus
30 extern "C" { 30 extern "C" {
31 #endif 31 #endif
32
33 /*
34 * Standard gettext macros.
35 */
36 #ifdef ENABLE_NLS
37 # include <libintl.h>
38 # undef _
39 # define _(String) dgettext (PACKAGE, String)
40 # ifdef gettext_noop
41 # define N_(String) gettext_noop (String)
42 # else
43 # define N_(String) (String)
44 # endif
45 #else
46 # define _LIBINTL_H
47 # define textdomain(String) (String)
48 # define gettext(String) (String)
49 # define dgettext(Domain,Message) (Message)
50 # define dcgettext(Domain,Message,Type) (Message)
51 # define bindtextdomain(Domain,Directory) (Domain)
52 # define _(String) (String)
53 # define N_(String) (String)
54 #endif
55
56 32
57 /* 33 /*
58 * Some constants and defines 34 * Some constants and defines
59 */ 35 */
60 /* #define to enable spurious debugging messages for development 36 /* #define to enable spurious debugging messages for development