Jacek Caban : mshtml: Get rid of duplicated NS_DLSYM defines.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Apr 20 08:24:42 CDT 2015


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Apr 17 15:46:35 2015 +0200

mshtml: Get rid of duplicated NS_DLSYM defines.

---

 dlls/mshtml/nsembed.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c
index ac33015..d166ef3 100644
--- a/dlls/mshtml/nsembed.c
+++ b/dlls/mshtml/nsembed.c
@@ -518,14 +518,6 @@ static BOOL load_xul(const PRUnichar *gre_path)
     NS_DLSYM(NS_CStringGetData);
     NS_DLSYM(NS_Alloc);
     NS_DLSYM(NS_Free);
-
-#undef NS_DLSYM
-
-#define NS_DLSYM(func) \
-    func = (void *)GetProcAddress(xul_handle, #func); \
-    if(!func) \
-        ERR("Could not GetProcAddress(" #func ") failed\n")
-
     NS_DLSYM(ccref_incr);
     NS_DLSYM(ccref_decr);
     NS_DLSYM(ccref_init);




More information about the wine-cvs mailing list