File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ PHP_HASH = 'yes';
11
11
EXTENSION ( 'hash' , 'hash.c hash_md.c hash_sha.c hash_ripemd.c hash_haval.c ' +
12
12
'hash_tiger.c hash_gost.c hash_snefru.c hash_whirlpool.c ' +
13
13
'hash_adler32.c hash_crc32.c hash_joaat.c hash_fnv.c ' +
14
- 'hash_sha3.c hash_murmur.cpp ' , false ) ;
14
+ 'hash_sha3.c hash_murmur.c ' , false ) ;
15
15
16
16
var hash_sha3_dir = 'ext/hash/sha3/generic' + ( X64 ? '64' : '32' ) + 'lc' ;
17
17
@@ -32,7 +32,7 @@ var hash_murmur_dir = 'ext/hash/murmur';
32
32
if ( ! CHECK_HEADER_ADD_INCLUDE ( 'PMurHash.h' , 'CFLAGS_HASH' , hash_murmur_dir ) ) {
33
33
ERROR ( 'Unable to locate murmur headers' ) ;
34
34
}
35
- ADD_SOURCES ( hash_murmur_dir , 'PMurHash.cpp PMurHash128.cpp ' , 'hash' ) ;
35
+ ADD_SOURCES ( hash_murmur_dir , 'PMurHash.c PMurHash128.c ' , 'hash' ) ;
36
36
37
37
PHP_INSTALL_HEADERS ( 'ext/hash/' , 'php_hash.h php_hash_md.h php_hash_sha.h ' +
38
38
'php_hash_ripemd.h php_hash_haval.h php_hash_tiger.h ' +
Original file line number Diff line number Diff line change 19
19
20
20
#include "murmur/PMurHash.h"
21
21
#include "murmur/PMurHash128.h"
22
- #define FORCE_INLINE zend_always_inline
23
- #include "murmur/endianness.h"
24
22
25
23
26
24
const php_hash_ops php_hash_murmur3a_ops = {/*{{{*/
You can’t perform that action at this time.
0 commit comments