- fix ext/hash detection and dependency
[m6w6/ext-http] / http.c
diff --git a/http.c b/http.c
index e97c12d743b4fdeb59e4827aeca24c6d5bc8edf6..1dba9c6a63d32470daf2bd91ff6acdb7f9971a3a 100644 (file)
--- a/http.c
+++ b/http.c
@@ -140,7 +140,7 @@ static zend_module_dep http_module_deps[] = {
 #      if HTTP_HAVE_EXT(SPL)
        ZEND_MOD_REQUIRED("spl")
 #      endif
-#      if HTTP_HAVE_EXT(HASH)
+#      if HTTP_HAVE_EXT_HASH
        ZEND_MOD_REQUIRED("hash")
 #      endif
 #      if HTTP_HAVE_EXT(SESSION)