diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2009-04-22 23:48:38 +1000 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2009-04-23 04:44:41 +1000 |
commit | f4462cc5040714f26af95972ae662ce27d9acbfe (patch) | |
tree | b199a0e7dcaed4d8ea559c76f7f3560d2250c205 | |
parent | 3cfd51f045660c43fffee0a0703b019ad5bc8cf8 (diff) | |
download | busybox-w32-f4462cc5040714f26af95972ae662ce27d9acbfe.tar.gz busybox-w32-f4462cc5040714f26af95972ae662ce27d9acbfe.tar.bz2 busybox-w32-f4462cc5040714f26af95972ae662ce27d9acbfe.zip |
coreutils/split: define NAME_MAX as Windows does not have one
-rw-r--r-- | coreutils/split.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/coreutils/split.c b/coreutils/split.c index 27f9cfdd6..ad92169bc 100644 --- a/coreutils/split.c +++ b/coreutils/split.c | |||
@@ -11,6 +11,10 @@ | |||
11 | */ | 11 | */ |
12 | #include "libbb.h" | 12 | #include "libbb.h" |
13 | 13 | ||
14 | #ifdef __MINGW32__ | ||
15 | #define NAME_MAX 256 | ||
16 | #endif | ||
17 | |||
14 | static const struct suffix_mult split_suffices[] = { | 18 | static const struct suffix_mult split_suffices[] = { |
15 | #if ENABLE_FEATURE_SPLIT_FANCY | 19 | #if ENABLE_FEATURE_SPLIT_FANCY |
16 | { "b", 512 }, | 20 | { "b", 512 }, |