Skip to content

Commit

Permalink
- Fix compilation on OSX
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7126 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Nov 20, 2010
1 parent 152ee10 commit 3b3e492
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Compiler/runtime/systemimpl.c
Expand Up @@ -514,7 +514,11 @@ double SystemImpl__getCurrentTime()
return difftime(t, 0); // the current time
}

#ifdef __APPLE_CC__
static int file_select_mo(struct dirent *entry)
#else
static int file_select_mo(const struct dirent *entry)
#endif
{
char fileName[MAXPATHLEN];
int res; char* ptr;
Expand Down

0 comments on commit 3b3e492

Please sign in to comment.