diff options
| author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-02-23 14:25:15 +0000 |
|---|---|---|
| committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-02-23 14:25:15 +0000 |
| commit | ed7bb6278da100e46f6286096b47aa0a356a76d8 (patch) | |
| tree | b2891f1dc1a868bf4eb1a0e15911dd5f50aa2e64 /include | |
| parent | 51be57e4df7d94046598fd5e0fcef67e956eec59 (diff) | |
| download | busybox-w32-ed7bb6278da100e46f6286096b47aa0a356a76d8.tar.gz busybox-w32-ed7bb6278da100e46f6286096b47aa0a356a76d8.tar.bz2 busybox-w32-ed7bb6278da100e46f6286096b47aa0a356a76d8.zip | |
- put NLS stuff in one central place to avoid redefines.
Fixes warnings about:
fdisk.c:45:1: warning: "_" redefined
nfsmount.c:121:1: warning: "_" redefined
nfsmount.c:122:1: warning: "N_" redefined
interface.c:84:1: warning: "_" redefined
Diffstat (limited to 'include')
| -rw-r--r-- | include/platform.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h index b19621af1..3f4bedbe8 100644 --- a/include/platform.h +++ b/include/platform.h | |||
| @@ -88,9 +88,13 @@ | |||
| 88 | #define BB_BIG_ENDIAN 1 | 88 | #define BB_BIG_ENDIAN 1 |
| 89 | #elif __BYTE_ORDER == __BIG_ENDIAN | 89 | #elif __BYTE_ORDER == __BIG_ENDIAN |
| 90 | #define BB_BIG_ENDIAN 1 | 90 | #define BB_BIG_ENDIAN 1 |
| 91 | #else | 91 | #else |
| 92 | #define BB_BIG_ENDIAN 0 | 92 | #define BB_BIG_ENDIAN 0 |
| 93 | #endif | 93 | #endif |
| 94 | 94 | ||
| 95 | /* ---- miscellaneous --------------------------------------- */ | ||
| 96 | /* NLS stuff */ | ||
| 97 | #define _(Text) Text | ||
| 98 | #define N_(Text) (Text) | ||
| 95 | 99 | ||
| 96 | #endif /* platform.h */ | 100 | #endif /* platform.h */ |
