]> sjero.net Git - wget/blobdiff - src/options.h
Turn --debug into no-op if compiled without debugging support
[wget] / src / options.h
index ad896275a4595fc757cde6fdc4fedac16efed656..06783cc3eeed9907d03730896348694b47da413f 100644 (file)
@@ -60,6 +60,7 @@ struct options
   char *lfilename;             /* Log filename */
   char *input_filename;                /* Input filename */
   char *choose_config;         /* Specified config file */
+  bool noconfig;
   bool force_html;             /* Is the input file an HTML file? */
 
   char *default_page;           /* Alternative default page (index file) */
@@ -155,9 +156,7 @@ struct options
   bool content_on_error;       /* Do we output the content when the HTTP
                                   status code indicates a server error */
 
-#ifdef ENABLE_DEBUG
   bool debug;                  /* Debugging on/off */
-#endif
 
 #ifdef USE_WATT32
   bool wdebug;                  /* Watt-32 tcp/ip debugging on/off */