From e515f6c1023e3b8b9396a5527a3b0528ab260f3d Mon Sep 17 00:00:00 2001 From: Andy Carle Date: Wed, 23 Mar 2022 17:33:21 -0600 Subject: [PATCH] fix Windows simulator build --- build/simulators/modules/screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/simulators/modules/screen.c b/build/simulators/modules/screen.c index 0df91fc490..9b000ad4cc 100644 --- a/build/simulators/modules/screen.c +++ b/build/simulators/modules/screen.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2018 Moddable Tech, Inc. + * Copyright (c) 2016-2022 Moddable Tech, Inc. * * This file is part of the Moddable SDK Tools. * @@ -433,7 +433,7 @@ void fxScreenLaunch(txScreen* screen) while (scriptCount--) { if (0 == c_strncmp(script->path, "setup/", 6)) { - char path[PATH_MAX]; + char path[C_PATH_MAX]; char *dot; c_strcpy(path, script->path);