Mike McCormack : shell32: Fix compilation of test on MSVC6.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Aug 24 05:57:00 CDT 2006


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

Author: Mike McCormack <mike at codeweavers.com>
Date:   Thu Aug 24 19:16:01 2006 +0900

shell32: Fix compilation of test on MSVC6.

---

 dlls/shell32/tests/shlfileop.c |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/dlls/shell32/tests/shlfileop.c b/dlls/shell32/tests/shlfileop.c
index 12b2862..3a9caa3 100644
--- a/dlls/shell32/tests/shlfileop.c
+++ b/dlls/shell32/tests/shlfileop.c
@@ -22,14 +22,20 @@ #include <stdarg.h>
 #include <stdio.h>
 
 #define WINE_NOWINSOCK
-#include "windef.h"
-#include "winbase.h"
-#include "wtypes.h"
+#include <windows.h>
 #include "shellapi.h"
 #include "shlobj.h"
 
 #include "wine/test.h"
 
+#ifndef INVALID_FILE_ATTRIBUTES
+#define INVALID_FILE_ATTRIBUTES 0xffffffff
+#endif
+
+#ifndef FOF_NORECURSION
+#define FOF_NORECURSION 0x1000
+#endif
+
 CHAR CURR_DIR[MAX_PATH];
 
 static HMODULE hshell32;




More information about the wine-cvs mailing list