Commit 3e2dbad
OsiClpSolverInterface: use _WIN32 guard for dlfcn.h (not _MSC_VER)
MinGW (GCC on Windows) does not define _MSC_VER but also lacks dlfcn.h,
causing a fatal build error. Use _WIN32 to exclude the entire POSIX
dlsym path on all Windows targets (both MSVC and MinGW), falling back
to the CLP_USE_OPENBLAS compile-time guard on Windows.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 52375f0 commit 3e2dbad
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
970 | 970 | | |
971 | 971 | | |
972 | 972 | | |
973 | | - | |
| 973 | + | |
974 | 974 | | |
975 | 975 | | |
976 | 976 | | |
| |||
0 commit comments