Skip to content

Commit

Permalink
attempt to fix ticket:3805
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo committed Apr 20, 2016
1 parent aab6010 commit ad78c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/FrontEnd/ClassLoader.mo
Expand Up @@ -201,7 +201,7 @@ algorithm
encodingfile = stringAppendList({path,pd,name,pd,"package.encoding"});
encoding = System.trimChar(System.trimChar(if System.regularFileExists(encodingfile) then System.readFile(encodingfile) else Util.getOptionOrDefault(optEncoding,"UTF-8"),"\n")," ");

if Config.getRunningTestsuiteFile()<>"" or Config.noProc()==1 then
if Config.getRunningTestsuiteFile()<>"" or Config.noProc()==1 or (System.os() == "Windows_NT") then
strategy = STRATEGY_ON_DEMAND(encoding);
else
filenames = getAllFilesFromDirectory(path + pd + name);
Expand Down

0 comments on commit ad78c44

Please sign in to comment.