Skip to content

Commit be6589d

Browse files
beutlichHansOlsson
andcommitted
Update Modelica/Resources/C-Sources/ModelicaInternal.c
Co-authored-by: Hans Olsson <HansOlsson@users.noreply.github.com>
1 parent 87ef32a commit be6589d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modelica/Resources/C-Sources/ModelicaInternal.c

+1
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ static ModelicaFileType Internal_stat(_In_z_ const char* name) {
424424
/* _stat accepts both "a:\dir" and "a:\dir\" */
425425
#else
426426
/* _stat requires "a:\dir" instead of "a:\dir\" */
427+
/* required for VS 2013 and earlier */
427428
else if (NULL != firstSlash && len > 1 &&
428429
('/' == name[len - 1] || '\\' == name[len - 1])) {
429430
char* nameTmp = (char*)malloc(len*(sizeof(char)));

0 commit comments

Comments
 (0)