Skip to content

Commit

Permalink
gnustep-corebase: define _UCRT_NOISY_NAN
Browse files Browse the repository at this point in the history
Works around build error for NAN "initializer element is not a compile-time constant" with recent Windows SDK versions.

Fixes #53.
  • Loading branch information
triplef committed Jan 2, 2025
1 parent 20ac790 commit 1191988
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phases/40-gnustep-corebase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ echo "### Running configure"

echo
echo "### Building"
make -j`nproc`
# define _UCRT_NOISY_NAN to work around https://developercommunity.visualstudio.com/t/NAN-is-no-longer-compile-time-constant-i/10688907
make -j`nproc` CFLAGS=-D_UCRT_NOISY_NAN

echo
echo "### Installing"
Expand Down

0 comments on commit 1191988

Please sign in to comment.