Skip to content

Commit

Permalink
- OMPlot: Build lib before exe so parallel builds succeed
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@11115 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Feb 14, 2012
1 parent c07be78 commit e62562a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/runtime/System_omc.cpp
Expand Up @@ -677,7 +677,7 @@ extern const char* System_getMakeCommand()

extern const char* System_snprintff(const char *fmt, int len, double d)
{
static char buf[1024];
static char buf[1024] /* It's ok to keep me static because snprintf is not reentrant either */;
assert(1024>len);
snprintf(buf,len,fmt,d);
buf[1023] = 0;
Expand Down

0 comments on commit e62562a

Please sign in to comment.