summaryrefslogtreecommitdiff
path: root/ext/session/php_session.h
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-06-26 03:01:45 +0200
committerPeter Kokot <peterkokot@gmail.com>2019-06-27 23:25:33 +0200
commit033cafacbd8b184260c91a74ea7956b302857706 (patch)
tree14b318d04f819b4bf9624a4bb45aed981bc33bd7 /ext/session/php_session.h
parent08027e85fafe67c2044e868d49286b800497ef14 (diff)
downloadphp-git-033cafacbd8b184260c91a74ea7956b302857706.tar.gz
Sync HAVE_HASH, HAVE_HASH_EXT, PHAR_HASH_OK symbols
The hash extension is always available since PHP-7.4. The symbol HAVE_HASH_EXT is kept for BC reasons and removed in PHP-8.0. This patch also removes the PHAR_HASH_OK since it is no longer relevant.
Diffstat (limited to 'ext/session/php_session.h')
-rw-r--r--ext/session/php_session.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/session/php_session.h b/ext/session/php_session.h
index 854110d8bc..4c795fdb68 100644
--- a/ext/session/php_session.h
+++ b/ext/session/php_session.h
@@ -20,10 +20,7 @@
#define PHP_SESSION_H
#include "ext/standard/php_var.h"
-
-#if defined(HAVE_HASH_EXT) && !defined(COMPILE_DL_HASH)
-# include "ext/hash/php_hash.h"
-#endif
+#include "ext/hash/php_hash.h"
#define PHP_SESSION_API 20161017