diff options
author | Ron Yorston <rmy@pobox.com> | 2020-07-09 13:10:58 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2020-07-09 13:10:58 +0100 |
commit | 9c0b2f7020d7c30b21a930ef54be632e092e533b (patch) | |
tree | b2187c40bd2fd9f49f73599fb08e52cb7a596de0 /include/libbb.h | |
parent | a8c6e20e332a9e11a9d28cd6770eadb9c9d73cb7 (diff) | |
parent | d21a63f9fca8eb16f79de9b72d4a3484dfaec1fc (diff) | |
download | busybox-w32-9c0b2f7020d7c30b21a930ef54be632e092e533b.tar.gz busybox-w32-9c0b2f7020d7c30b21a930ef54be632e092e533b.tar.bz2 busybox-w32-9c0b2f7020d7c30b21a930ef54be632e092e533b.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 7077f0e0d..32f4c4126 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -316,6 +316,7 @@ typedef unsigned long uoff_t; | |||
316 | /* scary. better ideas? (but do *test* them first!) */ | 316 | /* scary. better ideas? (but do *test* them first!) */ |
317 | #define OFF_T_MAX ((off_t)~((off_t)1 << (sizeof(off_t)*8-1))) | 317 | #define OFF_T_MAX ((off_t)~((off_t)1 << (sizeof(off_t)*8-1))) |
318 | /* Users report bionic to use 32-bit off_t even if LARGEFILE support is requested. | 318 | /* Users report bionic to use 32-bit off_t even if LARGEFILE support is requested. |
319 | * On musl, !ENABLE_LFS on 32-bit arches thinks that off_t is 32-bit. | ||
319 | * We misdetected that. Don't let it build: | 320 | * We misdetected that. Don't let it build: |
320 | */ | 321 | */ |
321 | struct BUG_off_t_size_is_misdetected { | 322 | struct BUG_off_t_size_is_misdetected { |
@@ -1428,8 +1429,10 @@ static inline void __attribute__ ((deprecated("use bb_simple_info_msg instead")) | |||
1428 | #define bb_perror_msg_and_die(...) BB_MSG(_perror_msg_and_die, BB_MSG_KIND(__VA_ARGS__), __VA_ARGS__) | 1429 | #define bb_perror_msg_and_die(...) BB_MSG(_perror_msg_and_die, BB_MSG_KIND(__VA_ARGS__), __VA_ARGS__) |
1429 | #define bb_herror_msg(...) BB_MSG(_herror_msg, BB_MSG_KIND(__VA_ARGS__), __VA_ARGS__) | 1430 | #define bb_herror_msg(...) BB_MSG(_herror_msg, BB_MSG_KIND(__VA_ARGS__), __VA_ARGS__) |
1430 | #define bb_herror_msg_and_die(...) BB_MSG(_herror_msg_and_die, BB_MSG_KIND(__VA_ARGS__), __VA_ARGS__) | 1431 | #define bb_herror_msg_and_die(...) BB_MSG(_herror_msg_and_die, BB_MSG_KIND(__VA_ARGS__), __VA_ARGS__) |
1432 | #if ENABLE_FEATURE_SYSLOG_INFO | ||
1431 | #define bb_info_msg(...) BB_MSG(_info_msg, BB_MSG_KIND(__VA_ARGS__), __VA_ARGS__) | 1433 | #define bb_info_msg(...) BB_MSG(_info_msg, BB_MSG_KIND(__VA_ARGS__), __VA_ARGS__) |
1432 | #endif | 1434 | #endif |
1435 | #endif | ||
1433 | 1436 | ||
1434 | /* We need to export XXX_main from libbusybox | 1437 | /* We need to export XXX_main from libbusybox |
1435 | * only if we build "individual" binaries | 1438 | * only if we build "individual" binaries |