diff options
| author | EGRY Gabor <gaboregry1@t-online.hu> | 2008-01-11 17:42:54 -0500 |
|---|---|---|
| committer | Sam Ravnborg <sam@ravnborg.org> | 2008-01-28 17:14:39 -0500 |
| commit | 75c0a8a55c31c0a21f7e9e64bc45e87e228a98f6 (patch) | |
| tree | e2e5652ee20f30ac7f8d73e2abc2a089218b3e89 /scripts/kconfig/lxdialog/dialog.h | |
| parent | 413f006bab3845f12d7b2338a9b548aaf7808548 (diff) | |
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 c4ad37fd922c..b5211fce0d94 100644 --- a/scripts/kconfig/lxdialog/dialog.h +++ b/scripts/kconfig/lxdialog/dialog.h | |||
| @@ -26,6 +26,12 @@ | |||
| 26 | #include <string.h> | 26 | #include <string.h> |
| 27 | #include <stdbool.h> | 27 | #include <stdbool.h> |
| 28 | 28 | ||
| 29 | #ifndef KBUILD_NO_NLS | ||
| 30 | # include <libintl.h> | ||
| 31 | #else | ||
| 32 | # define gettext(Msgid) ((const char *) (Msgid)) | ||
| 33 | #endif | ||
| 34 | |||
| 29 | #ifdef __sun__ | 35 | #ifdef __sun__ |
| 30 | #define CURS_MACROS | 36 | #define CURS_MACROS |
| 31 | #endif | 37 | #endif |
