summaryrefslogtreecommitdiff
path: root/ext/standard/password.c
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2016-03-25 21:06:10 +0100
committerNikita Popov <nikic@php.net>2016-03-25 21:09:47 +0100
commitd3ed75b9ebc998b8cf325e0e3ab954bd10989918 (patch)
tree92ddae9a4a87f7f410f954c393a56ee22c256238 /ext/standard/password.c
parentbe7a50b9ab4f17b224f82e32dddd249b17f6ba36 (diff)
downloadphp-git-d3ed75b9ebc998b8cf325e0e3ab954bd10989918.tar.gz
Remove HAVE_CRYPT checks
We always provide a crypt implementation. HAVE_CRYPT is only relevant as to whether the crypt() C function exists.
Diffstat (limited to 'ext/standard/password.c')
-rw-r--r--ext/standard/password.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/standard/password.c b/ext/standard/password.c
index a46f4889e5..2a5cec3e93 100644
--- a/ext/standard/password.c
+++ b/ext/standard/password.c
@@ -21,7 +21,6 @@
#include <stdlib.h>
#include "php.h"
-#if HAVE_CRYPT
#include "fcntl.h"
#include "php_password.h"
@@ -384,7 +383,6 @@ PHP_FUNCTION(password_hash)
}
/* }}} */
-#endif /* HAVE_CRYPT */
/*
* Local variables:
* tab-width: 4