diff options
Diffstat (limited to 'nuttx/netutils/thttpd/config.h')
-rw-r--r-- | nuttx/netutils/thttpd/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/netutils/thttpd/config.h b/nuttx/netutils/thttpd/config.h index dce61a32d..5eade0d47 100644 --- a/nuttx/netutils/thttpd/config.h +++ b/nuttx/netutils/thttpd/config.h @@ -200,6 +200,12 @@ # define CONFIG_THTTPD_IDLE_SEND_LIMIT_SEC 300 # endif +/* Memory debug instrumentation depends on other debug options */ + +#if (!defined(CONFIG_DEBUG) || !defined(CONFIG_DEBUG_NET)) && defined(CONFIG_THTTPD_MEMDEBUG) +# undef CONFIG_THTTPD_MEMDEBUG +#endif + /* Tilde mapping. Many URLs use ~username to indicate a user's home directory. thttpd * provides two options for mapping this construct to an actual filename. * |