summaryrefslogtreecommitdiff
path: root/src/libw32dll/wine/driver.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2003-05-16 11:34:37 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2003-05-16 11:34:37 +0000
commit0dc71e0c3e90cd732f149fefc601a65f6ef530a1 (patch)
tree29ca3d87eba0c23acca85f6a1db2ad77fb4681e6 /src/libw32dll/wine/driver.c
parent1aa6fe5e8989768ba0faaf7affa14a2feb7b5aea (diff)
downloadxine-lib-0dc71e0c3e90cd732f149fefc601a65f6ef530a1.tar.gz
xine-lib-0dc71e0c3e90cd732f149fefc601a65f6ef530a1.tar.bz2
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
Diffstat (limited to 'src/libw32dll/wine/driver.c')
-rw-r--r--src/libw32dll/wine/driver.c3
1 files changed, 2 insertions, 1 deletions
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;
}