Mercurial > molko
comparison libmlk-core/core/core_p.h @ 262:afdeafb82c22
misc: fix build without NLS
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 07 Dec 2020 23:21:05 +0100 |
parents | 71b3b7036de7 |
children | f04b4ee04db3 |
comparison
equal
deleted
inserted
replaced
261:bfde372bf152 | 262:afdeafb82c22 |
---|---|
23 | 23 |
24 #if defined(MOLKO_WITH_NLS) | 24 #if defined(MOLKO_WITH_NLS) |
25 # include <libintl.h> | 25 # include <libintl.h> |
26 # define _(s) dgettext("libmlk-core", s) | 26 # define _(s) dgettext("libmlk-core", s) |
27 #else | 27 #else |
28 # define _(s) | 28 # define _(s) s |
29 #endif | 29 #endif |
30 | 30 |
31 #endif /* !MOLKO_CORE_CORE_P_H */ | 31 #endif /* !MOLKO_CORE_CORE_P_H */ |