Skip to content

Commit 094125f

Browse files
committed
- fix CPP runtime compilation on MinGW (static libcminpack.a on MinGW)
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20092 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 5da5b04 commit 094125f

File tree

1 file changed

+5
-0
lines changed
  • SimulationRuntime/cpp/Solver/Hybrj

1 file changed

+5
-0
lines changed

SimulationRuntime/cpp/Solver/Hybrj/Hybrj.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33

44
#include "FactoryExport.h"
55
#include "HybrjSettings.h"
6+
7+
#if defined(__MINGW32__) /* we have static libcminpack.a on MinGW */
8+
#define CMINPACK_NO_DLL
9+
#endif
10+
611
#include <minpack.h>
712
/*
813
Hybrj solver from MINPACK: numerical library for function minimization and least-squares solutions

0 commit comments

Comments
 (0)