struct tm now found in header files (OSX)
authorClaus Gittinger <cg@exept.de>
Tue, 07 Apr 2015 12:24:16 +0200
changeset 18188 4b21fc6f1e75
parent 18187 8812f096e7c4
child 18189 e06ab6591712
struct tm now found in header files (OSX)
UnixOperatingSystem.st
--- a/UnixOperatingSystem.st	Tue Apr 07 12:22:50 2015 +0200
+++ b/UnixOperatingSystem.st	Tue Apr 07 12:24:16 2015 +0200
@@ -287,6 +287,8 @@
 #  include <time.h>
 #  define HAS_TIMEGM
 
+#  ifdef NO_LONGER_NEEDED
+// struct tm seems to be defined now (new XCODE/CLANG compiler)
 struct tm {
 	int     tm_sec;         /* seconds after the minute [0-60] */
 	int     tm_min;         /* minutes after the hour [0-59] */
@@ -300,6 +302,7 @@
 	long    tm_gmtoff;      /* offset from CUT in seconds */
 	char    *tm_zone;       /* timezone abbreviation */
 };
+#  endif /* NO_LONGER */
 
 #  include <crt_externs.h>
 #  include <net/if_dl.h>
@@ -14177,11 +14180,11 @@
 !UnixOperatingSystem class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.430 2015-03-27 08:47:10 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.431 2015-04-07 10:24:16 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.430 2015-03-27 08:47:10 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/UnixOperatingSystem.st,v 1.431 2015-04-07 10:24:16 cg Exp $'
 ! !