diff options
| author | Pierre Joye <pajoye@php.net> | 2010-11-26 18:25:13 +0000 |
|---|---|---|
| committer | Pierre Joye <pajoye@php.net> | 2010-11-26 18:25:13 +0000 |
| commit | 722457594b6d250ddd35329632e1f2dfb30e1a8d (patch) | |
| tree | af62bd293e75fa5e35ed4cd4f7173477124dc805 /main | |
| parent | f7cd7afd3323d5c4b31d4527f05f049d94674bba (diff) | |
| download | php-git-722457594b6d250ddd35329632e1f2dfb30e1a8d.tar.gz | |
- Fixed #53409, sleep() return NULL on Windows
Diffstat (limited to 'main')
| -rw-r--r-- | main/win95nt.h | 2 |
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 |
