]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
(captured_main): Condition --async option on ASYNC.
authorNick Roberts <nickrob@snap.net.nz>
Wed, 30 Aug 2006 02:11:12 +0000 (02:11 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Wed, 30 Aug 2006 02:11:12 +0000 (02:11 +0000)
gdb/main.c

index 294caaa6f9bc04040fd34ee26a5df8eafe4dc4d2..eccc155b5f8123d47d587d0dfe2affbe5ee2a828 100644 (file)
@@ -263,8 +263,10 @@ captured_main (void *data)
     };
     static struct option long_options[] =
     {
+#ifdef ASYNC
       {"async", no_argument, &event_loop_p, 1},
       {"noasync", no_argument, &event_loop_p, 0},
+#endif
 #if defined(TUI)
       {"tui", no_argument, 0, OPT_TUI},
 #endif