Skip to content

Commit 75bd5b4

Browse files
TimWollanielsdos
andauthored
Check for PHP_WIN32 instead of _MSC_VER
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
1 parent a967a12 commit 75bd5b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ext/hash/php_hash_sha.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ typedef struct {
4646
PHP_HASH_API void PHP_SHA256InitArgs(PHP_SHA256_CTX *, ZEND_ATTRIBUTE_UNUSED HashTable *);
4747
PHP_HASH_API void PHP_SHA256Update(PHP_SHA256_CTX *, const unsigned char *, size_t);
4848

49-
#ifdef PHP_WIN32
49+
#ifdef _MSC_VER
5050
# define PHP_STATIC_RESTRICT
5151
#else
5252
# define PHP_STATIC_RESTRICT static restrict

0 commit comments

Comments
 (0)