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 5cf7b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phases/40-gnustep-corebase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ echo "### Running configure"
CC="`gnustep-config --variable=CC`" \
CPP="`gnustep-config --variable=CPP`" \
CXX="`gnustep-config --variable=CXX`" \
CFLAGS="$CFLAGS -I$UNIX_INSTALL_PREFIX/include" \
CFLAGS="$CFLAGS -I$UNIX_INSTALL_PREFIX/include -D_UCRT_NOISY_NAN" `# define _UCRT_NOISY_NAN to work around https://developercommunity.visualstudio.com/t/NAN-is-no-longer-compile-time-constant-i/10688907` \
CPPFLAGS="$CPPFLAGS -I$UNIX_INSTALL_PREFIX/include" \
LDFLAGS="$LDFLAGS -L$UNIX_INSTALL_PREFIX/lib" \

Expand Down

0 comments on commit 5cf7b84

Please sign in to comment.