On 24/09/2014 3:42 pm, Sebastian Huber wrote:
On 24/09/14 07:34, Chris Johns wrote:
On 24/09/2014 3:27 pm, Sebastian Huber wrote:
Yes, we should move to 64-bit time_t after the next release or even now.
What is involved ?
Something like this:
diff --git a/newlib/libc/include/machine/types.h
b/newlib/libc/include/machine/types.h
index 40a75fa..b7265b9 100644
--- a/newlib/libc/include/machine/types.h
+++ b/newlib/libc/include/machine/types.h
@@ -11,7 +11,7 @@
#endif
#define _CLOCK_T_ unsigned long /* clock() */
-#define _TIME_T_ long /* time() */
+#define _TIME_T_ long long /* time() */
#define _CLOCKID_T_ unsigned long
#define _TIMER_T_ unsigned long
This is common to all newlib users. Did you mean to do that ?
Chris
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel