diff options
author | Ron Yorston <rmy@pobox.com> | 2019-01-10 09:05:01 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2019-01-10 09:05:01 +0000 |
commit | 5757aff16d8ca7570386a3eda4d1d5196d820bbb (patch) | |
tree | 110343caf4d8c28f6c972b039741f010939d14e9 /include | |
parent | f99a280743e877c14ee90a3f9e93a34ca3476a27 (diff) | |
download | busybox-w32-5757aff16d8ca7570386a3eda4d1d5196d820bbb.tar.gz busybox-w32-5757aff16d8ca7570386a3eda4d1d5196d820bbb.tar.bz2 busybox-w32-5757aff16d8ca7570386a3eda4d1d5196d820bbb.zip |
Update default configuration; compilation fix
Continue to use old version of dc; add definition of LONG_BIT from
xopen_lim.h.
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index f9c098917..4077c8d44 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -55,6 +55,22 @@ int getgrouplist(const char *user, gid_t group, gid_t *groups, int *ngroups); | |||
55 | #define NAME_MAX 255 | 55 | #define NAME_MAX 255 |
56 | #define MAXSYMLINKS 20 | 56 | #define MAXSYMLINKS 20 |
57 | 57 | ||
58 | #ifdef LONG_MAX | ||
59 | # if LONG_MAX == 2147483647 | ||
60 | # define LONG_BIT 32 | ||
61 | # else | ||
62 | /* Safe assumption. */ | ||
63 | # define LONG_BIT 64 | ||
64 | # endif | ||
65 | #elif defined __LONG_MAX__ | ||
66 | # if __LONG_MAX__ == 2147483647 | ||
67 | # define LONG_BIT 32 | ||
68 | # else | ||
69 | /* Safe assumption. */ | ||
70 | # define LONG_BIT 64 | ||
71 | # endif | ||
72 | #endif | ||
73 | |||
58 | /* | 74 | /* |
59 | * netdb.h | 75 | * netdb.h |
60 | */ | 76 | */ |