summaryrefslogtreecommitdiff
path: root/e2fsprogs
diff options
context:
space:
mode:
authorMike Frysinger2005-05-09 21:53:25 +0000
committerMike Frysinger2005-05-09 21:53:25 +0000
commit507d1f76e5cbc74646a967b9ed7599dbd2d8eb88 (patch)
tree43711f6298a299a46052270f4202865d019329de /e2fsprogs
parentae38d65e952b998e1dca4167b74fb0cf1f14a2a6 (diff)
downloadbusybox-507d1f76e5cbc74646a967b9ed7599dbd2d8eb88.zip
busybox-507d1f76e5cbc74646a967b9ed7599dbd2d8eb88.tar.gz
override nls P_() macro
Diffstat (limited to 'e2fsprogs')
-rw-r--r--e2fsprogs/e2fsbb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/e2fsprogs/e2fsbb.h b/e2fsprogs/e2fsbb.h
index 029bb44..ea44f7a 100644
--- a/e2fsprogs/e2fsbb.h
+++ b/e2fsprogs/e2fsbb.h
@@ -30,6 +30,7 @@ typedef long errcode_t;
/* NLS crap */
#define _(x) x
#define N_(x) x
+#define P_(singular, plural, n) ((n) == 1 ? (singular) : (plural))
/* misc crap */
#define fatal_error(msg, err) bb_error_msg_and_die(msg)