From 4df0cf8c7a8e63aaa88dc64df918627582315d55 Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 2 Apr 2005 16:26:55 +0000 Subject: [PATCH] Because of a typo, time.h did not define NULL as required by the standard. git-svn-id: svn://svn.cc65.org/cc65/trunk@3451 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/time.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/time.h b/include/time.h index cdb914447..7ed6a9c70 100644 --- a/include/time.h +++ b/include/time.h @@ -6,7 +6,7 @@ /* */ /* */ /* */ -/* (C) 1998-2003 Ullrich von Bassewitz */ +/* (C) 1998-2005 Ullrich von Bassewitz */ /* Römerstrasse 52 */ /* D-70794 Filderstadt */ /* EMail: uz@cc65.org */ @@ -39,7 +39,7 @@ /* NULL pointer */ -#ifdef _HAVE_NULL +#ifndef _HAVE_NULL #define NULL 0 #define _HAVE_NULL #endif @@ -54,7 +54,7 @@ typedef unsigned long time_t; typedef unsigned long clock_t; /* Structure for broken down time */ -struct tm { +struct tm { int tm_sec; int tm_min; int tm_hour; -- 2.39.5