Module: wine Branch: master Commit: b7818870045ed6e7d1512ad1aab55277864a1e6a URL: https://source.winehq.org/git/wine.git/?a=commit;h=b7818870045ed6e7d1512ad1a...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Jun 4 09:08:42 2019 +0200
faultrep: Build with msvcrt.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/faultrep/Makefile.in | 2 ++ dlls/faultrep/faultrep.c | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/faultrep/Makefile.in b/dlls/faultrep/Makefile.in index c478df4..70cd1ff 100644 --- a/dlls/faultrep/Makefile.in +++ b/dlls/faultrep/Makefile.in @@ -2,4 +2,6 @@ MODULE = faultrep.dll IMPORTLIB = faultrep IMPORTS = advapi32
+EXTRADLLFLAGS = -mno-cygwin + C_SRCS = faultrep.c diff --git a/dlls/faultrep/faultrep.c b/dlls/faultrep/faultrep.c index 83f9027..3191659 100644 --- a/dlls/faultrep/faultrep.c +++ b/dlls/faultrep/faultrep.c @@ -24,7 +24,6 @@ #include "winnls.h" #include "winreg.h" #include "wine/debug.h" -#include "wine/unicode.h"
#include "errorrep.h"
@@ -62,7 +61,7 @@ BOOL WINAPI AddERExcludedApplicationW(LPCWSTR lpAppFileName) LONG res;
TRACE("(%s)\n", wine_dbgstr_w(lpAppFileName)); - bslash = strrchrW(lpAppFileName, '\'); + bslash = wcsrchr(lpAppFileName, '\'); if (bslash != NULL) lpAppFileName = bslash + 1; if (*lpAppFileName == '\0')