Skip to content

Commit

Permalink
Switch back to using static simulation runtime until the FMI code is …
Browse files Browse the repository at this point in the history
…fixed (probably required to get OSX to run FMUs better anyway)

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@15318 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Feb 25, 2013
1 parent 1245e63 commit e61aa41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Compiler/runtime/printimpl.c
Expand Up @@ -412,7 +412,8 @@ static long PrintImpl__saveAndClearBuf()
savedBuffers[freeHandle] = buf;
savedCurSize[freeHandle] = cursize;
savedNfilled[freeHandle] = nfilled;
buf = (char*)malloc(INITIAL_BUFSIZE*sizeof(char));
buf = (char*)malloc(INITIAL_BUFSIZE*sizeof(char));
*buf = 0;
nfilled=0;
cursize=INITIAL_BUFSIZE;
return freeHandle;
Expand Down
2 changes: 1 addition & 1 deletion SimulationRuntime/c/Makefile.in
Expand Up @@ -28,7 +28,7 @@ else
LIBF2CINC=-I./simulation/libf2c/
LIBF2CHEADER=./simulation/libf2c/f2c.h
endif
LIBSIMULATION=libSimulationRuntimeC.so
LIBSIMULATION=libSimulationRuntimeC.a
LIBRUNTIME=libOpenModelicaRuntimeC.so
LIBFMIRUNTIME=libOpenModelicaFMIRuntimeC.a

Expand Down

0 comments on commit e61aa41

Please sign in to comment.