summaryrefslogtreecommitdiff
path: root/ext/standard/uniqid.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-12-20 16:34:42 +0000
committerMarcus Boerger <helly@php.net>2002-12-20 16:34:42 +0000
commit26038795f8fd381c943216cac69c229ef2af0a99 (patch)
treed0f6b4b3f3aeb02f9b8b1f7122321c79ca66d138 /ext/standard/uniqid.h
parent740ee5df1c98a8bfe65e8c423fff9709a0950e34 (diff)
downloadphp-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.h2
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 */