aboutsummaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2014-04-21 10:26:50 +0100
committerRon Yorston <rmy@pobox.com>2014-04-21 10:26:50 +0100
commitf24b57e5523aa2ebb892357cf525cb4220dd6ba8 (patch)
tree7f23e8b11e4799d24b2e9a71c3c04b26324d085e /win32
parent60d938a3579786138cdec207b73fe24af47908ad (diff)
downloadbusybox-w32-f24b57e5523aa2ebb892357cf525cb4220dd6ba8.tar.gz
busybox-w32-f24b57e5523aa2ebb892357cf525cb4220dd6ba8.tar.bz2
busybox-w32-f24b57e5523aa2ebb892357cf525cb4220dd6ba8.zip
Move handling of Windows globbing out of upstream code
Diffstat (limited to 'win32')
-rw-r--r--win32/mingw.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/mingw.c b/win32/mingw.c
index 2645aadca..501c886e0 100644
--- a/win32/mingw.c
+++ b/win32/mingw.c
@@ -1,6 +1,11 @@
1#include "libbb.h" 1#include "libbb.h"
2#include <userenv.h> 2#include <userenv.h>
3 3
4#if ENABLE_NOGLOB
5/* disable MSVCRT command line globbing */
6int _CRT_glob = 0;
7#endif
8
4unsigned int _CRT_fmode = _O_BINARY; 9unsigned int _CRT_fmode = _O_BINARY;
5 10
6static int err_win_to_posix(DWORD winerr) 11static int err_win_to_posix(DWORD winerr)