diff options
Diffstat (limited to 'include/bb_archive.h')
-rw-r--r-- | include/bb_archive.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/bb_archive.h b/include/bb_archive.h index e0ef8fc4e..3422c9656 100644 --- a/include/bb_archive.h +++ b/include/bb_archive.h | |||
@@ -2,6 +2,16 @@ | |||
2 | #ifndef UNARCHIVE_H | 2 | #ifndef UNARCHIVE_H |
3 | #define UNARCHIVE_H 1 | 3 | #define UNARCHIVE_H 1 |
4 | 4 | ||
5 | #if !defined(BB_ARCHIVE_PUBLIC) && ENABLE_PLATFORM_MINGW32 | ||
6 | /* treat mingw as a non-MMU platform */ | ||
7 | #undef BB_MMU | ||
8 | #undef USE_FOR_NOMMU | ||
9 | #undef USE_FOR_MMU | ||
10 | #define BB_MMU 0 | ||
11 | #define USE_FOR_NOMMU(...) __VA_ARGS__ | ||
12 | #define USE_FOR_MMU(...) | ||
13 | #endif | ||
14 | |||
5 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN | 15 | PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN |
6 | 16 | ||
7 | enum { | 17 | enum { |
@@ -277,7 +287,11 @@ enum { | |||
277 | BBUNPK_SEAMLESS_MAGIC = (1 << 31) * ENABLE_ZCAT * SEAMLESS_COMPRESSION, | 287 | BBUNPK_SEAMLESS_MAGIC = (1 << 31) * ENABLE_ZCAT * SEAMLESS_COMPRESSION, |
278 | }; | 288 | }; |
279 | 289 | ||
290 | #if !ENABLE_PLATFORM_MINGW32 | ||
280 | void check_errors_in_children(int signo); | 291 | void check_errors_in_children(int signo); |
292 | #else | ||
293 | #define check_errors_in_children(s) ((void)0) | ||
294 | #endif | ||
281 | #if BB_MMU | 295 | #if BB_MMU |
282 | void fork_transformer(int fd, | 296 | void fork_transformer(int fd, |
283 | int signature_skipped, | 297 | int signature_skipped, |