Alexandre Julliard : winedbg: Allow building without debug support in the parser.

Alexandre Julliard julliard at wine.codeweavers.com
Sun Sep 10 03:28:13 CDT 2006


Module: wine
Branch: master
Commit: dfd1abfa5755fc8d58947eed16d5d2d1ddffb69f
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=dfd1abfa5755fc8d58947eed16d5d2d1ddffb69f

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sat Sep  9 11:26:35 2006 +0200

winedbg: Allow building without debug support in the parser.

---

 programs/winedbg/dbg.y |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/programs/winedbg/dbg.y b/programs/winedbg/dbg.y
index 4601f0a..b7d83d8 100644
--- a/programs/winedbg/dbg.y
+++ b/programs/winedbg/dbg.y
@@ -24,6 +24,7 @@
 #include "config.h"
 #include "wine/port.h"
 
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #ifdef HAVE_UNISTD_H
@@ -509,10 +510,6 @@ void	parser_handle(HANDLE input)
     HANDLE              in_copy  = dbg_parser_input;
     HANDLE              out_copy = dbg_parser_output;
 
-#ifdef YYDEBUG
-    yydebug = 0;
-#endif
-
     ret_ok = FALSE;
 
     if (input != INVALID_HANDLE_VALUE)




More information about the wine-cvs mailing list