OSDN Git Service
(root)
/
android-x86
/
external-e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ed2c12
)
debugfs: fix build on systems that don't have gettext built-in
author
Theodore Ts'o
<tytso@mit.edu>
Sat, 18 Oct 2014 13:13:09 +0000
(09:13 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Sat, 18 Oct 2014 13:13:09 +0000
(09:13 -0400)
Debugfs (unlike all of the other programs in e2fsprogs) is not set up
to use translated strings. So when building misc/plausible.c for
debugfs, we need to disable NLS.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/nls-enable.h
patch
|
blob
|
history
diff --git
a/misc/nls-enable.h
b/misc/nls-enable.h
index
a91dcc1
..
2f62c01
100644
(file)
--- a/
misc/nls-enable.h
+++ b/
misc/nls-enable.h
@@
-1,4
+1,4
@@
-#if
def ENABLE_NLS
+#if
defined(ENABLE_NLS) && !defined(DEBUGFS)
#include <libintl.h>
#include <locale.h>
#define _(a) (gettext (a))