winedbg: Fix compile when poll() is not available.

This commit is contained in:
Alexandre Julliard 2008-05-26 19:25:04 +02:00
parent 10e795a091
commit 2e83ea49be
1 changed files with 6 additions and 8 deletions

View File

@ -111,7 +111,12 @@ struct gdb_context
unsigned long wine_segs[3]; /* load addresses of the ELF wine exec segments (text, bss and data) */
};
static struct be_process_io be_process_gdbproxy_io;
static struct be_process_io be_process_gdbproxy_io =
{
NULL, /* we shouldn't use close_process() in gdbproxy */
ReadProcessMemory,
WriteProcessMemory
};
/* =============================================== *
* B A S I C M A N I P U L A T I O N S *
@ -2352,10 +2357,3 @@ int gdb_main(int argc, char* argv[])
#endif
return -1;
}
static struct be_process_io be_process_gdbproxy_io =
{
NULL, /* we shouldn't use close_process() in gdbproxy */
ReadProcessMemory,
WriteProcessMemory
};