We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent feb6433 commit b3c0dc6Copy full SHA for b3c0dc6
Modelica/Resources/C-Sources/ModelicaInternal.c
@@ -424,6 +424,7 @@ static ModelicaFileType Internal_stat(_In_z_ const char* name) {
424
/* _stat accepts both "a:\dir" and "a:\dir\" */
425
#else
426
/* _stat requires "a:\dir" instead of "a:\dir\" */
427
+ /* required for VS 2013 and earlier */
428
else if (NULL != firstSlash && len > 1 &&
429
('/' == name[len - 1] || '\\' == name[len - 1])) {
430
char* nameTmp = (char*)malloc(len*(sizeof(char)));
0 commit comments