Alexandre Julliard : winedbg: Fix compile when poll() is not available.
Alexandre Julliard
julliard at winehq.org
Mon May 26 13:12:51 CDT 2008
Module: wine
Branch: master
Commit: 2e83ea49be48b66176508513871dcec11dfd589f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2e83ea49be48b66176508513871dcec11dfd589f
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon May 26 19:25:04 2008 +0200
winedbg: Fix compile when poll() is not available.
---
programs/winedbg/gdbproxy.c | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/programs/winedbg/gdbproxy.c b/programs/winedbg/gdbproxy.c
index a47f9ca..2fbec04 100644
--- a/programs/winedbg/gdbproxy.c
+++ b/programs/winedbg/gdbproxy.c
@@ -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
-};
More information about the wine-cvs
mailing list