]> git.sur5r.net Git - cc65/commitdiff
Because of a typo, time.h did not define NULL as required by the standard.
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 2 Apr 2005 16:26:55 +0000 (16:26 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 2 Apr 2005 16:26:55 +0000 (16:26 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3451 b7a2c559-68d2-44c3-8de9-860c34a00d81

include/time.h

index cdb914447b661d9c6b4bd2113064a612424fb724..7ed6a9c70643bf8f4acfc9c2cea8428daf3f8865 100644 (file)
@@ -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;