www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/04/02/16:12:27

Message-Id: <199904022112.VAA62116@out4.ibm.net>
From: "Mark E." <snowball3 AT usa DOT net>
To: djgpp-workers AT delorie DOT com
Date: Fri, 2 Apr 1999 16:12:29 -0500
MIME-Version: 1.0
Subject: patch for <sys\types.h>
X-mailer: Pegasus Mail for Win32 (v3.01d)
Reply-To: djgpp-workers AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019