summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-11-26 18:25:13 +0000
committerPierre Joye <pajoye@php.net>2010-11-26 18:25:13 +0000
commit722457594b6d250ddd35329632e1f2dfb30e1a8d (patch)
treeaf62bd293e75fa5e35ed4cd4f7173477124dc805 /main
parentf7cd7afd3323d5c4b31d4527f05f049d94674bba (diff)
downloadphp-git-722457594b6d250ddd35329632e1f2dfb30e1a8d.tar.gz
- Fixed #53409, sleep() return NULL on Windows
Diffstat (limited to 'main')
-rw-r--r--main/win95nt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/win95nt.h b/main/win95nt.h
index cf46056cd7..a99b782f16 100644
--- a/main/win95nt.h
+++ b/main/win95nt.h
@@ -47,7 +47,7 @@ typedef char * caddr_t;
#define mkdir(a, b) _mkdir(a)
#define rmdir(a) _rmdir(a)
#define getpid _getpid
-#define php_sleep(t) Sleep(t*1000)
+#define php_sleep(t) SleepEx(t*1000, TRUE)
#ifndef getcwd
# define getcwd(a, b) _getcwd(a, b)
#endif