Skip to content

Commit

Permalink
- Linux has no "_putenv", changed to putenv in settingsimpl.c
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2459 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Aug 13, 2006
1 parent ef105a8 commit d00f675
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Compiler/runtime/settingsimpl.c
Expand Up @@ -99,7 +99,8 @@ RML_BEGIN_LABEL(Settings__setInstallationDirectoryPath)
/*set the env-var to created string
this is useful when scripts and clients started
by omc wants to use OPENMODELICAHOME*/
if( _putenv(omhome) != 0){
if( putenv(omhome) != 0) // adrpo: in Linux there is not _putenv if( _putenv(omhome) != 0)
{
RML_TAILCALLK(rmlFC);
}
free(omhome);
Expand Down

0 comments on commit d00f675

Please sign in to comment.