Skip to content

Commit dc64595

Browse files
committed
MFH
1 parent 24b312f commit dc64595

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/crypt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ PHP_FUNCTION(crypt)
148148
salt[2] = '\0';
149149
#endif
150150
}
151-
#if defined(HAVE_CRYPT_R) && defined(_REENTRANT)
151+
#if defined(HAVE_CRYPT_R) && (defined(_REENTRANT) || defined(_THREAD_SAFE))
152152
{
153153
#if defined(CRYPT_R_STRUCT_CRYPT_DATA)
154154
struct crypt_data buffer;

0 commit comments

Comments
 (0)