Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 21, 2009, 9:32:44 AM (15 years ago)
Author:
rgrieder
Message:

Fixed build for Unix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/libraries/src/core/Core.cc

    r5649 r5665  
    284284            // Add that path to the PATH variable in case a plugin depends on another one
    285285            std::string pathVariable = getenv("PATH");
    286             putenv(("PATH=" + pathVariable + ";" + configuration_->pluginPath_.string()).c_str());
     286            putenv(const_cast<char*>(("PATH=" + pathVariable + ";" + configuration_->pluginPath_.string()).c_str()));
    287287
    288288            boost::filesystem::directory_iterator file(searchpath);
Note: See TracChangeset for help on using the changeset viewer.