
#pragma once
#include <Core/Modelica.h>
#if defined(__vxworks)


#elif defined(OMC_BUILD)

#include <Solver/Newton/Newton.h>
#include <Solver/Newton/NewtonSettings.h>

    /* OMC factory */
    using boost::extensions::factory;

BOOST_EXTENSION_TYPE_MAP_FUNCTION {
  types.get<std::map<std::string, factory<IAlgLoopSolver,IAlgLoop*, INonLinSolverSettings*> > >()
    ["newton"].set<Newton>();
  types.get<std::map<std::string, factory<INonLinSolverSettings> > >()
    ["newtonSettings"].set<NewtonSettings>();
 }

#else
error "operating system not supported"
#endif



