We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d552fbd commit 5d1181fCopy full SHA for 5d1181f
NEWS
@@ -30,6 +30,9 @@ PHP NEWS
30
- GD:
31
. Added gdImageClone to bundled libgd. (David Carlier)
32
33
+- Hash:
34
+ . Fixed bug GH-15742 (php_hash_sha.h incompatible with C++). (cmb)
35
+
36
- OpenSSL:
37
. Implement GH-13514 PASSWORD_ARGON2 from OpenSSL 3.2. (Remi)
38
ext/hash/php_hash_sha.h
@@ -45,7 +45,7 @@ typedef struct {
45
PHP_HASH_API void PHP_SHA256InitArgs(PHP_SHA256_CTX *, ZEND_ATTRIBUTE_UNUSED HashTable *);
46
PHP_HASH_API void PHP_SHA256Update(PHP_SHA256_CTX *, const unsigned char *, size_t);
47
48
-#ifdef _MSC_VER
+#if defined(__cplusplus) || defined(_MSC_VER)
49
# define PHP_STATIC_RESTRICT
50
#else
51
# define PHP_STATIC_RESTRICT static restrict
0 commit comments