Skip to content

Commit f008254

Browse files
committed
refactor: rename constant LIBZSTD_VERSION_NUMBER -> ZSTD_VERSION_NUMBER
1 parent 67222e3 commit f008254

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/dictionary_02.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
zstd_uncompress_dict(): streaming decompression with dictionary
33
--SKIPIF--
44
<?php
5-
if (LIBZSTD_VERSION_NUMBER < 10304) die("skip needs libzstd 1.3.4");
5+
if (ZSTD_VERSION_NUMBER < 10304) die("skip needs libzstd 1.3.4");
66
?>
77
--FILE--
88
<?php

zstd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1631,7 +1631,7 @@ ZEND_MINIT_FUNCTION(zstd)
16311631
ZSTD_CLEVEL_DEFAULT,
16321632
CONST_CS | CONST_PERSISTENT);
16331633

1634-
REGISTER_LONG_CONSTANT("LIBZSTD_VERSION_NUMBER",
1634+
REGISTER_LONG_CONSTANT("ZSTD_VERSION_NUMBER",
16351635
ZSTD_VERSION_NUMBER,
16361636
CONST_CS | CONST_PERSISTENT);
16371637
REGISTER_STRING_CONSTANT("LIBZSTD_VERSION_STRING",

0 commit comments

Comments
 (0)