Skip to content

Commit

Permalink
define HAS_TRUNC and $Config{d_trunc)for MSVC builds
Browse files Browse the repository at this point in the history
Fixes POSIX/t/math.t failures on MSVC builds of MSWin32-x86-multi-thread
  • Loading branch information
sisyphus authored and khwilliamson committed Nov 28, 2023
1 parent 7e806ec commit 3ac05d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion win32/config.vc
Expand Up @@ -604,7 +604,7 @@ d_tm_tm_zone='undef'
d_tmpnam_r='undef'
d_towlower='undef'
d_towupper='undef'
d_trunc='undef'
d_trunc='define'
d_truncate='undef'
d_truncl='undef'
d_ttyname_r='undef'
Expand Down
2 changes: 1 addition & 1 deletion win32/config_H.vc
Expand Up @@ -3543,7 +3543,7 @@
* This symbol, if defined, indicates that the trunc routine is
* available to round doubles towards zero.
*/
/*#define HAS_TRUNC / **/
#define HAS_TRUNC /**/

/* HAS_TRUNCL:
* This symbol, if defined, indicates that the truncl routine is
Expand Down

0 comments on commit 3ac05d1

Please sign in to comment.