summaryrefslogtreecommitdiff
path: root/include/mingw.h
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2018-03-02 13:18:18 +0000
committerRon Yorston <rmy@pobox.com>2018-03-02 13:18:18 +0000
commit99daecdac917d149f4643e090cb705df135e2ed1 (patch)
tree22b1e8d57d97d36b2c46f6c93983fc06a1cd5ba7 /include/mingw.h
parent5b726f8a78c33e117c2a968739b1b4a6964905f8 (diff)
downloadbusybox-w32-99daecdac917d149f4643e090cb705df135e2ed1.tar.gz
busybox-w32-99daecdac917d149f4643e090cb705df135e2ed1.tar.bz2
busybox-w32-99daecdac917d149f4643e090cb705df135e2ed1.zip
Minor improvements to build
Exclude source files in libbb that aren't used by busybox-w32. This speeds up the build marginally. They can always be reinstated if necessary. Provide fake routines for everything in inode_hash.c so that it can be excluded. inode_hash.c is now unchanged from upstream. Use last_char_is in has_exe_suffix_or_dot. It doesn't save any bytes but it makes the code neater.
Diffstat (limited to 'include/mingw.h')
-rw-r--r--include/mingw.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 1bb2032cd..09903d582 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -435,7 +435,6 @@ const char * next_path_sep(const char *path);
435#define is_absolute_path(path) ((path)[0] == '/' || (path)[0] == '\\' || has_dos_drive_prefix(path)) 435#define is_absolute_path(path) ((path)[0] == '/' || (path)[0] == '\\' || has_dos_drive_prefix(path))
436 436
437#define find_mount_point(n, s) find_mount_point(n) 437#define find_mount_point(n, s) find_mount_point(n)
438#define add_to_ino_dev_hashtable(s, n) (void)0
439 438
440/* 439/*
441 * helpers 440 * helpers