Skip to content

Commit 31dc700

Browse files
author
jan.nijtmans
committed
Update to latest TEA
1 parent 34ef243 commit 31dc700

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

configure

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3995,8 +3995,11 @@ printf "%s\n" "$TEA_PLATFORM" >&6; }
39953995

39963996
# The BUILD_$pkg is to define the correct extern storage class
39973997
# 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
39984001

3999-
printf "%s\n" "#define BUILD_${PACKAGE_NAME} /**/" >>confdefs.h
4002+
printf "%s\n" "#define BUILD_${SAFE_PKG_NAME} /**/" >>confdefs.h
40004003

40014004
# Do this here as we have fully defined TEA_PLATFORM now
40024005
if test "${TEA_PLATFORM}" = "windows" ; then

0 commit comments

Comments
 (0)