16 Jun
2010
16 Jun
'10
3:32 p.m.
On Wed, Jun 16, 2010 at 08:28:00PM +0200, diego wrote:
Author: diego Date: Wed Jun 16 20:27:59 2010 New Revision: 31433
Log: Use a struct timezone as second parameter for gettimeofday in the function test. This works around (broken?) systems where just #including <sys/time.h> does not provide NULL.
Don't do that kind of hacks. I don't see the point of avoiding to include stdlib.h, but if you insist just use 0 instead of NULL, it is basically the same thing just uglier.