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
This commit is contained in:
cuz
2005-04-02 16:26:55 +00:00
parent 5f31938c46
commit 4df0cf8c7a

View File

@@ -6,7 +6,7 @@
/* */ /* */
/* */ /* */
/* */ /* */
/* (C) 1998-2003 Ullrich von Bassewitz */ /* (C) 1998-2005 Ullrich von Bassewitz */
/* R<>merstrasse 52 */ /* R<>merstrasse 52 */
/* D-70794 Filderstadt */ /* D-70794 Filderstadt */
/* EMail: uz@cc65.org */ /* EMail: uz@cc65.org */
@@ -39,7 +39,7 @@
/* NULL pointer */ /* NULL pointer */
#ifdef _HAVE_NULL #ifndef _HAVE_NULL
#define NULL 0 #define NULL 0
#define _HAVE_NULL #define _HAVE_NULL
#endif #endif
@@ -54,7 +54,7 @@ typedef unsigned long time_t;
typedef unsigned long clock_t; typedef unsigned long clock_t;
/* Structure for broken down time */ /* Structure for broken down time */
struct tm { struct tm {
int tm_sec; int tm_sec;
int tm_min; int tm_min;
int tm_hour; int tm_hour;