Francois Gouget : wineboot: Make sure COBJMACROS is defined before objidl. h is included.

Alexandre Julliard julliard at winehq.org
Mon Apr 7 06:51:07 CDT 2008


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Apr  7 11:03:22 2008 +0200

wineboot: Make sure COBJMACROS is defined before objidl.h is included.

---

 programs/wineboot/wineboot.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/wineboot/wineboot.c b/programs/wineboot/wineboot.c
index b57dea9..859e91f 100644
--- a/programs/wineboot/wineboot.c
+++ b/programs/wineboot/wineboot.c
@@ -54,6 +54,7 @@
 #include "config.h"
 #include "wine/port.h"
 
+#define COBJMACROS
 #define WIN32_LEAN_AND_MEAN
 
 #include <stdio.h>
@@ -65,7 +66,6 @@
 #include <wine/unicode.h>
 #include <wine/debug.h>
 
-#define COBJMACROS
 #include <shlobj.h>
 #include <shobjidl.h>
 #include <shlwapi.h>




More information about the wine-cvs mailing list