diff options
author | Marcus Boerger <helly@php.net> | 2002-12-20 16:34:42 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2002-12-20 16:34:42 +0000 |
commit | 26038795f8fd381c943216cac69c229ef2af0a99 (patch) | |
tree | d0f6b4b3f3aeb02f9b8b1f7122321c79ca66d138 /ext/standard/uniqid.h | |
parent | 740ee5df1c98a8bfe65e8c423fff9709a0950e34 (diff) | |
download | php-git-26038795f8fd381c943216cac69c229ef2af0a99.tar.gz |
-disable uniqid() when required lib functions not available
-emit an error when uniqid() will fail
-make more_entropy parameter default to true for CYGWIN
Diffstat (limited to 'ext/standard/uniqid.h')
-rw-r--r-- | ext/standard/uniqid.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/uniqid.h b/ext/standard/uniqid.h index 352a75ff82..65e1f046c4 100644 --- a/ext/standard/uniqid.h +++ b/ext/standard/uniqid.h @@ -21,6 +21,8 @@ #ifndef UNIQID_H #define UNIQID_H +#ifdef HAVE_GETTIMEOFDAY PHP_FUNCTION(uniqid); +#endif #endif /* UNIQID_H */ |