Francois Gouget : testbot/TestLauncher: Remove a dependency on msvcrt.

Alexandre Julliard julliard at winehq.org
Mon Nov 12 16:25:54 CST 2018


Module: tools
Branch: master
Commit: 64e6e328b0f1d7ee49c89285f9f60e1fee0b7066
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=64e6e328b0f1d7ee49c89285f9f60e1fee0b7066

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Mon Nov 12 02:24:28 2018 +0100

testbot/TestLauncher: Remove a dependency on msvcrt.

Use MAX_PATH instead of _MAX_PATH.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 3052198..15929c5 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;




More information about the wine-cvs mailing list