summaryrefslogtreecommitdiff
path: root/packages/busybox/busybox-1.2.2/wget-long-options.patch
blob: 3c5920a3cbe0d6ba627884dd3d0f200395a321f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- busybox-1.2.1.orig/networking/wget.c
+++ busybox-1.2.1/networking/wget.c
@@ -136,7 +136,7 @@
 #define WGET_OPT_PREFIX	32
 #define WGET_OPT_PROXY	64
 
-#if ENABLE_WGET_LONG_OPTIONS
+#if CONFIG_FEATURE_WGET_LONG_OPTIONS
 static const struct option wget_long_options[] = {
 	{ "continue",        0, NULL, 'c' },
 	{ "quiet",           0, NULL, 'q' },
@@ -180,7 +180,7 @@
 	 * Crack command line.
 	 */
 	bb_opt_complementally = "-1:\203::";
-#if ENABLE_WGET_LONG_OPTIONS
+#if CONFIG_FEATURE_WGET_LONG_OPTIONS
 	bb_applet_long_options = wget_long_options;
 #endif
 	opt = bb_getopt_ulflags(argc, argv, "cq\213O:\203:P:Y:",