This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/RFA]: Fix duplicated define of _initialize_ser_e7000pc
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Andrew Volkov <Andrew dot Volkov at transas dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 10 Jun 2002 11:18:29 -0400
- Subject: Re: [patch/RFA]: Fix duplicated define of _initialize_ser_e7000pc
- References: <2E74F312D6980D459F3A05492BA40F8DEFC92E@clue.transas.com>
-void
-_initialize_ser_e7000pc (void)
-{
- serial_add_interface (&e7000pc_ops);
-}
-#else
+#endif /*_WIN32 or __GO32__*/
void
_initialize_ser_e7000pc (void)
{
-
+#if defined __GO32__ || defined _WIN32
+ serial_add_interface (&e7000pc_ops);
+#endif
}
-#endif
Hmm, yes! Thanks.
Andrew