com php-src: fixed missing usleep() prototype in pgsql: ext/pgsql/pgsql.c win32/time.h

From: Date: Wed, 22 Jan 2014 10:52:52 +0000
Subject: com php-src: fixed missing usleep() prototype in pgsql: ext/pgsql/pgsql.c win32/time.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-75750@lists.php.net to get a copy of this message
Commit: 7bcf01f39abcc0baab2b37ff9799581e9f298b10 Author: Anatol Belski <ab@php.net> Wed, 22 Jan 2014 11:52:52 +0100 Parents: 58f94345a7ef8125d5c7a5a3dfe23a7c50a8bfcd Branches: PHP-5.4 PHP-5.5 PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7bcf01f39abcc0baab2b37ff9799581e9f298b10 Log: fixed missing usleep() prototype in pgsql Changed paths: M ext/pgsql/pgsql.c M win32/time.h Diff: diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 3dc3057..2ac0454 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -37,6 +37,9 @@ #include "ext/standard/php_standard.h" #include "ext/standard/php_smart_str.h" #include "ext/ereg/php_regex..h" +#ifdef PHP_WIN32 +# include "win32/time.h" +#endif #undef PACKAGE_BUGREPORT #undef PACKAGE_NAME diff --git a/win32/time.h b/win32/time.h index f841a2b..d5d86eb 100644 --- a/win32/time.h +++ b/win32/time.h @@ -50,4 +50,6 @@ PHPAPI extern int setitimer(int which, const struct itimerval *value, PHPAPI int nanosleep( const struct timespec * rqtp, struct timespec * rmtp ); +PHPAPI int usleep(unsigned int useconds); + #endif

« previous php.cvs (#75750) next »