File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ template translateModel(SimCode simCode)
7272
7373 // workaround for <%fileNamePrefix%>.h with an underscore, because we have
7474 // for example a ModelicaUtilities.h in the runtime
75- let()= textFile(simulationHeaderFile(simCode,guid), '_ <%fileNamePrefix%>.h')
75+ let()= textFile(simulationHeaderFile(simCode,guid), '<%fileNamePrefix%>_model .h')
7676 // adpro: write the main .c file last! Make on windows doesn't seem to realize that
7777 // the .c file is newer than the .o file if we have succesive simulate commands
7878 // for the same model (i.e. see testsuite/linearize/simextfunction.mos).
@@ -128,7 +128,7 @@ template simulationFile(SimCode simCode, String guid)
128128 <<
129129 <%simulationFileHeader(simCode)%>
130130 <%externalFunctionIncludes(externalFunctionIncludes)%>
131- #include "_ <%fileNamePrefix%>.h"
131+ #include "<%fileNamePrefix%>_model .h"
132132 #include "<%fileNamePrefix%>_functions.c"
133133 /* dummy VARINFO and FILEINFO */
134134 const FILE_INFO dummyFILE_INFO = omc_dummyFileInfo;
You can’t perform that action at this time.
0 commit comments