Skip to content

Commit

Permalink
add some more #define's to MSVS part of config_default.h
Browse files Browse the repository at this point in the history
- va_copy, rand, and std::rand should be available
  • Loading branch information
svigerske committed Dec 11, 2024
1 parent 893b3f2 commit 4fc3b40
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Common/config_default.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@
#define IPOPT_C_FINITE std::isfinite
#endif

#ifdef _MSC_VER
#define IPOPT_HAS_RAND 1
#define IPOPT_HAS_STD__RAND 1
#define IPOPT_HAS_VA_COPY 1
#endif

#define IPOPT_BLAS_FUNC(name,NAME) F77_FUNC(name,NAME)
#define IPOPT_LAPACK_FUNC(name,NAME) F77_FUNC(name,NAME)
#define IPOPT_PARDISO_FUNC(name,NAME) F77_FUNC(name,NAME)
Expand Down

0 comments on commit 4fc3b40

Please sign in to comment.