From c2a7ce04edbde925966f03d78cc8db077416da28 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Mon, 17 Mar 2014 21:58:40 +0000 Subject: Drop CONFIG_WIN32_NET setting --- libbb/appletlib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libbb') 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 if (ENABLE_LOCALE_SUPPORT && getpid() != 1) setlocale(LC_ALL, ""); - IF_WIN32_NET(init_winsock();) +#if ENABLE_PLATFORM_MINGW32 + init_winsock(); +#endif #if ENABLE_FEATURE_INDIVIDUAL /* Redundant for busybox (run_applet_and_exit covers that case) -- cgit v1.2.3-55-g6feb