[PATCH] testbot/TestLauncher: Remove a dependency on msvcrt.
Francois Gouget
fgouget at codeweavers.com
Sun Nov 11 19:24:28 CST 2018
Use MAX_PATH instead of _MAX_PATH.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
testbot/src/TestLauncher/TestLauncher.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/testbot/src/TestLauncher/TestLauncher.c b/testbot/src/TestLauncher/TestLauncher.c
index 3052198228..15929c50ab 100644
--- a/testbot/src/TestLauncher/TestLauncher.c
+++ b/testbot/src/TestLauncher/TestLauncher.c
@@ -102,7 +102,7 @@ static BOOL AllImportedDllsPresent(const char *TestExeName, const char *Subtest)
DWORD NR;
DWORD NewPos;
DWORD FileOffset;
- char ModuleName[_MAX_PATH];
+ char ModuleName[MAX_PATH];
BOOL Found;
BOOL AllPresent;
@@ -284,10 +284,10 @@ int main(int argc, char *argv[])
int Arg;
DWORD Start, TimeOut;
BOOL UsageError;
- char TestExeFullName[_MAX_PATH];
+ char TestExeFullName[MAX_PATH];
char *TestExeFileName;
const char *Suffix;
- char TestName[_MAX_PATH];
+ char TestName[MAX_PATH];
const char *Subtest;
int TestArg;
char *CommandLine;
--
2.19.1
More information about the wine-devel
mailing list