Skip to content

Commit e67ef24

Browse files
committed
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: fixed missing usleep() prototype in pgsql
2 parents fa224b1 + 7bcf01f commit e67ef24

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

ext/pgsql/pgsql.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
#include "ext/standard/php_standard.h"
3838
#include "ext/standard/php_smart_str.h"
3939
#include "ext/ereg/php_regex.h"
40+
#ifdef PHP_WIN32
41+
# include "win32/time.h"
42+
#endif
4043

4144
#undef PACKAGE_BUGREPORT
4245
#undef PACKAGE_NAME

win32/time.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,6 @@ PHPAPI extern int setitimer(int which, const struct itimerval *value,
5050

5151
PHPAPI int nanosleep( const struct timespec * rqtp, struct timespec * rmtp );
5252

53+
PHPAPI int usleep(unsigned int useconds);
54+
5355
#endif

0 commit comments

Comments
 (0)