Rob Shearman : mshtml: Add a dummy member to nsMargin as empty structs aren 't valid in C89.

Alexandre Julliard julliard at winehq.org
Fri Feb 15 05:35:48 CST 2008


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

Author: Rob Shearman <rob at codeweavers.com>
Date:   Wed Feb 13 16:22:03 2008 +0000

mshtml: Add a dummy member to nsMargin as empty structs aren't valid in C89.

---

 dlls/mshtml/nsiface.idl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/nsiface.idl b/dlls/mshtml/nsiface.idl
index 0f7e066..f27960a 100644
--- a/dlls/mshtml/nsiface.idl
+++ b/dlls/mshtml/nsiface.idl
@@ -1404,7 +1404,7 @@ interface nsIWebNavigation : nsISupports
 ]
 interface nsIPrintSettings : nsISupports
 {
-    typedef struct {} nsMargin;
+    typedef struct { char dummy; } nsMargin;
 
     nsresult SetPrintOptions(PRInt32 aType, PRBool aTurnOnOff);
     nsresult GetPrintOptions(PRInt32 aType, PRBool *_retval);




More information about the wine-cvs mailing list