We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34ef243 commit 31dc700Copy full SHA for 31dc700
configure
@@ -3995,8 +3995,11 @@ printf "%s\n" "$TEA_PLATFORM" >&6; }
3995
3996
# The BUILD_$pkg is to define the correct extern storage class
3997
# handling when making this package
3998
+ # To be able to sefely use the package name in a #define, it must not
3999
+ # contain anything other than alphanumeric characters and underscores
4000
+ SAFE_PKG_NAME=thread
4001
-printf "%s\n" "#define BUILD_${PACKAGE_NAME} /**/" >>confdefs.h
4002
+printf "%s\n" "#define BUILD_${SAFE_PKG_NAME} /**/" >>confdefs.h
4003
4004
# Do this here as we have fully defined TEA_PLATFORM now
4005
if test "${TEA_PLATFORM}" = "windows" ; then
0 commit comments