Skip to content

Commit 792a71d

Browse files
committed
fixed prototype
1 parent 603b20e commit 792a71d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

library.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@
1919
#include <ext/standard/php_math.h>
2020
#include <ext/standard/php_rand.h>
2121

22+
#ifdef PHP_WIN32
23+
# if PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION <= 4
24+
/* This proto is available from 5.5 on only */
25+
PHPAPI int usleep(unsigned int useconds);
26+
# endif
27+
#endif
28+
2229
#define UNSERIALIZE_ONLY_VALUES 0
2330
#define UNSERIALIZE_ALL 1
2431

0 commit comments

Comments
 (0)