Skip to content

Commit 69dd969

Browse files
committed
Fix compilation
1 parent e33248e commit 69dd969

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

thirdparty/cppad/include/cppad/configure.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ CPPAD_HAS_TMPNAM_S
287287
If true, tmpnam_s works in C++ on this system.
288288
{xrst_spell_off}
289289
{xrst_code hpp} */
290-
# define CPPAD_HAS_TMPNAM_S 1
290+
# define CPPAD_HAS_TMPNAM_S 0
291291
/* {xrst_code}
292292
{xrst_spell_on}
293293

thirdparty/notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
For CPPAD, remember to change `# define CPPAD_C_COMPILER_MSVC_FLAGS 0` in `cppad/include/configure.hpp`
1+
For CPPAD, remember to change `# define CPPAD_C_COMPILER_MSVC_FLAGS 0` and `# define CPPAD_HAS_TMPNAM_S 0` in `cppad/include/configure.hpp`
22

33
For IPOPT, remember to mask `IPOPTLIB_EXPORT` in `solvers/ipopt/IpoptConfig.h`

0 commit comments

Comments
 (0)