Mail Archives: djgpp-workers/1999/04/02/16:12:27
It was pointed out to me recently a minor problem with the Bash
configure script where it wasn't detecting time_t because it was
checking for it in sys/types.h. I agreed it must be an error and changed
the configure script.
But after looking at http://www.unix-
systems.org/single_unix_specification_v2/xsh/systypes.h.html I can
see why the script was looking there. According the URL, <sys/types.h>
should have time_t defined. So here is a patch:
*** include\sys\types.h.orig Sat Feb 22 13:06:06 1997
--- include\sys\types.h Fri Apr 2 16:08:34 1999
***************
*** 36,41 ****
--- 36,44 ----
__DJ_uid_t
#undef __DJ_uid_t
#define __DJ_uid_t
+ __DJ_time_t
+ #undef __DJ_time_t
+ #define __DJ_time_t
#ifndef _POSIX_SOURCE
---
Mark Elbrecht, snowball3 AT usa DOT net
http://snowball.digitalspace.net/
- Raw text -