From 0dc71e0c3e90cd732f149fefc601a65f6ef530a1 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Fri, 16 May 2003 11:34:37 +0000 Subject: fix compilation problem with "make debug": the CFLAGS would be overridden in the wrong order, when doing a "make debug" from outside src/libw32dll/wine (DEBUG_CFLAGS is set in src/libw32dll/wine's Makefile, but the CFLAGS given on the command line take precedence, therefore WIN32_PATH would be undefined) I hope I have not broken wine stuff. (Yes, the warning is frightening me...) I have checked using some Windows DLLs and the Quicktime SVQ3 DLL and they worked fine. Could everyone double check, if the win32-DLLs still work? CVS patchset: 4864 CVS date: 2003/05/16 11:34:37 --- src/libw32dll/wine/driver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libw32dll/wine/driver.c') diff --git a/src/libw32dll/wine/driver.c b/src/libw32dll/wine/driver.c index 6ef5d7500..7720a4975 100644 --- a/src/libw32dll/wine/driver.c +++ b/src/libw32dll/wine/driver.c @@ -18,6 +18,7 @@ extern char* win32_def_path; + #if 1 /* @@ -57,7 +58,7 @@ void SetCodecPath(const char* path) if(needs_free)free(win32_def_path); if(path==0) { - win32_def_path="WIN32_PATH"; + win32_def_path=WIN32_PATH; needs_free=0; return; } -- cgit v1.2.3