Re: [PHP-DEV] functions in time.c

2002-10-29 Thread Derick Rethans
On Tue, 29 Oct 2002, Marcus Boerger wrote: > Shouldn't microtime and gettimeofday be unavailable > when HAVE_GETTIMEOFDAY is undefined? IMO they should indeed not be available in that case. Derick -- --- Derick Rethans

Re: [PHP-DEV] functions in time.c

2002-10-29 Thread Jani Taskinen
Of course. --Jani On Tue, 29 Oct 2002, Marcus Boerger wrote: >Shouldn't microtime and gettimeofday be unavailable >when HAVE_GETTIMEOFDAY is undefined? > > >PHP_FUNCTION(microtime) >{ >#ifdef HAVE_GETTIMEOFDAY > ... >#endif > RETURN_FALSE; >} >PHP_FUNCTION(gettimeo

[PHP-DEV] functions in time.c

2002-10-29 Thread Marcus Boerger
Shouldn't microtime and gettimeofday be unavailable when HAVE_GETTIMEOFDAY is undefined? PHP_FUNCTION(microtime) { #ifdef HAVE_GETTIMEOFDAY ... #endif RETURN_FALSE; } PHP_FUNCTION(gettimeofday) { #ifdef HAVE_GETTIMEOFDAY ... #endif RETURN_FALSE; } -- PHP Development Mailing List