Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfe1d9d commit c452316Copy full SHA for c452316
library.c
@@ -34,6 +34,9 @@
34
/* This proto is available from 5.5 on only */
35
PHP_REDIS_API int usleep(unsigned int useconds);
36
# endif
37
+ # if PHP_MAJOR_VERSION >= 7
38
+ PHP_REDIS_API int usleep(unsigned int useconds);
39
+ # endif
40
#endif
41
42
extern zend_class_entry *redis_ce;
redis_commands.h
@@ -11,9 +11,6 @@
11
};
12
int gettimeofday(struct timeval *tv, struct timezone *tz);
13
14
-# if defined(HAVE_USLEEP)
15
- int usleep(unsigned int useconds);
16
-# endif
17
18
19
#include "common.h"
0 commit comments