webclient: move WGET_USE_URLENCODE definiton to the header
Because it's used by the header. This fixes warnings while building wgetjson.
This commit is contained in:
parent
5e1ba408b4
commit
b78370dbf2
@ -69,6 +69,12 @@
|
||||
# define CONFIG_WEBCLIENT_MAXFILENAME 100
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_NETUTILS_CODECS)
|
||||
# if defined(CONFIG_CODECS_URLCODE)
|
||||
# define WGET_USE_URLENCODE 1
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public types
|
||||
****************************************************************************/
|
||||
|
@ -75,7 +75,6 @@
|
||||
|
||||
#if defined(CONFIG_NETUTILS_CODECS)
|
||||
# if defined(CONFIG_CODECS_URLCODE)
|
||||
# define WGET_USE_URLENCODE 1
|
||||
# include "netutils/urldecode.h"
|
||||
# endif
|
||||
# if defined(CONFIG_CODECS_BASE64)
|
||||
|
Loading…
Reference in New Issue
Block a user