diff options
author | Ron Yorston <rmy@pobox.com> | 2014-03-17 21:58:40 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2014-03-17 21:58:40 +0000 |
commit | c2a7ce04edbde925966f03d78cc8db077416da28 (patch) | |
tree | c55b561c25ab8c21d082c0edb6edf45b131ea169 /libbb/appletlib.c | |
parent | 8d989e6c6af206f56e8ea596197dd724454097f0 (diff) | |
download | busybox-w32-c2a7ce04edbde925966f03d78cc8db077416da28.tar.gz busybox-w32-c2a7ce04edbde925966f03d78cc8db077416da28.tar.bz2 busybox-w32-c2a7ce04edbde925966f03d78cc8db077416da28.zip |
Drop CONFIG_WIN32_NET setting
Diffstat (limited to 'libbb/appletlib.c')
-rw-r--r-- | libbb/appletlib.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index 5425f736e..0a9d4b11c 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c | |||
@@ -188,7 +188,9 @@ void lbb_prepare(const char *applet | |||
188 | if (ENABLE_LOCALE_SUPPORT && getpid() != 1) | 188 | if (ENABLE_LOCALE_SUPPORT && getpid() != 1) |
189 | setlocale(LC_ALL, ""); | 189 | setlocale(LC_ALL, ""); |
190 | 190 | ||
191 | IF_WIN32_NET(init_winsock();) | 191 | #if ENABLE_PLATFORM_MINGW32 |
192 | init_winsock(); | ||
193 | #endif | ||
192 | 194 | ||
193 | #if ENABLE_FEATURE_INDIVIDUAL | 195 | #if ENABLE_FEATURE_INDIVIDUAL |
194 | /* Redundant for busybox (run_applet_and_exit covers that case) | 196 | /* Redundant for busybox (run_applet_and_exit covers that case) |