Skip to content

Commit

Permalink
- fix Compiler/runtime/systemimpl.c for MinGW.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@7101 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Nov 19, 2010
1 parent e04f2b1 commit 173dd4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/runtime/systemimpl.c
Expand Up @@ -312,7 +312,7 @@ static const char* SystemImpl__basename(const char *str)
{
const char* res = NULL;
#if defined(__MINGW32__) || defined(_MSC_VER)
res; = strrchr(str, '\\');
res = strrchr(str, '\\');
#endif
if (res == NULL) { res = strrchr(str, '/'); }
if (res == NULL) { res = str; } else { ++res; }
Expand Down

0 comments on commit 173dd4d

Please sign in to comment.