Skip to content

Commit e8c65d7

Browse files
authored
Remove superfluous ext/hash/murmur include on Windows (#13314)
The murmur headers are included relatively in ext/hash sources.
1 parent fa02793 commit e8c65d7

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ext/hash/config.w32

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ if (!CHECK_HEADER_ADD_INCLUDE('KeccakHash.h', 'CFLAGS_HASH', hash_sha3_dir)) {
2929

3030
ADD_FLAG('CFLAGS_HASH', '/DKeccakP200_excluded /DKeccakP400_excluded /DKeccakP800_excluded /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1');
3131

32-
var hash_murmur_dir = 'ext/hash/murmur';
33-
if (!CHECK_HEADER_ADD_INCLUDE('PMurHash.h', 'CFLAGS_HASH', hash_murmur_dir)) {
34-
ERROR('Unable to locate murmur headers');
35-
}
36-
ADD_SOURCES(hash_murmur_dir, 'PMurHash.c PMurHash128.c', 'hash');
32+
ADD_SOURCES('ext/hash/murmur', 'PMurHash.c PMurHash128.c', 'hash');
3733

3834
PHP_INSTALL_HEADERS('ext/hash', 'php_hash.h php_hash_md.h php_hash_sha.h ' +
3935
'php_hash_ripemd.h php_hash_haval.h php_hash_tiger.h ' +

0 commit comments

Comments
 (0)