diff options
author | EGRY Gabor <gaboregry1@t-online.hu> | 2008-01-11 23:42:54 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-01-28 23:14:39 +0100 |
commit | 75c0a8a55c31c0a21f7e9e64bc45e87e228a98f6 (patch) | |
tree | e2e5652ee20f30ac7f8d73e2abc2a089218b3e89 /scripts/kconfig/lxdialog/dialog.h | |
parent | 413f006bab3845f12d7b2338a9b548aaf7808548 (diff) | |
download | kernel_samsung_smdk4412-75c0a8a55c31c0a21f7e9e64bc45e87e228a98f6.zip kernel_samsung_smdk4412-75c0a8a55c31c0a21f7e9e64bc45e87e228a98f6.tar.gz kernel_samsung_smdk4412-75c0a8a55c31c0a21f7e9e64bc45e87e228a98f6.tar.bz2 |
kconfig: gettext support for lxdialog
Gettext support for lxdialog.
Signed-off-by: Egry Gabor <gaboregry1@t-online.hu>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Diffstat (limited to 'scripts/kconfig/lxdialog/dialog.h')
-rw-r--r-- | scripts/kconfig/lxdialog/dialog.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/kconfig/lxdialog/dialog.h b/scripts/kconfig/lxdialog/dialog.h index c4ad37f..b5211fc 100644 --- a/scripts/kconfig/lxdialog/dialog.h +++ b/scripts/kconfig/lxdialog/dialog.h @@ -26,6 +26,12 @@ #include <string.h> #include <stdbool.h> +#ifndef KBUILD_NO_NLS +# include <libintl.h> +#else +# define gettext(Msgid) ((const char *) (Msgid)) +#endif + #ifdef __sun__ #define CURS_MACROS #endif |