mirror of https://github.com/vitalif/e2fsprogs
debugfs: fix build on systems that don't have gettext built-in
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>crypto
parent
9ed2c124f3
commit
831aa869e8
|
@ -1,4 +1,4 @@
|
||||||
#ifdef ENABLE_NLS
|
#if defined(ENABLE_NLS) && !defined(DEBUGFS)
|
||||||
#include <libintl.h>
|
#include <libintl.h>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#define _(a) (gettext (a))
|
#define _(a) (gettext (a))
|
||||||
|
|
Loading…
Reference in New Issue