Skip to content

Commit

Permalink
-removed __inline when compiling with visual studio, because it can n…
Browse files Browse the repository at this point in the history
…ot cope so well with inline in combination with extern, causing linking error.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@5873 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Peter Aronsson committed Jul 21, 2010
1 parent eadb012 commit 99ea8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/runtime/systemimpl.c
Expand Up @@ -211,7 +211,7 @@ static int set_ldflags(char *str)
}

#if defined(_MSC_VER)
__inline

#else
inline
#endif
Expand Down

0 comments on commit 99ea8af

Please sign in to comment.