blob: 8febb6ee435533f9654be508ccced84f48919066 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
diff -Nur grub-1.98.orig/include/grub/i18n.h grub-1.98/include/grub/i18n.h
--- grub-1.98.orig/include/grub/i18n.h 2010-03-06 21:51:37.000000000 +0100
+++ grub-1.98/include/grub/i18n.h 2010-11-18 19:46:58.740685644 +0100
@@ -24,18 +24,6 @@
extern const char *(*EXPORT_VAR(grub_gettext)) (const char *s);
-/* NLS can be disabled through the configure --disable-nls option. */
-#if ENABLE_NLS
-
-# ifdef GRUB_UTIL
-
-# include <locale.h>
-# include <libintl.h>
-
-# endif /* GRUB_UTIL */
-
-#else /* ! ENABLE_NLS */
-
/* Disabled NLS.
The casts to 'const char *' serve the purpose of producing warnings
for invalid uses of the value returned from these functions.
@@ -47,8 +35,6 @@
# define grub_gettext(str) ((const char *) (str))
# endif /* GRUB_UTIL */
-#endif /* ENABLE_NLS */
-
#ifdef GRUB_UTIL
# define _(str) gettext(str)
#else
|