www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/06/17/11:10:58

Date: Sun, 17 Jun 2001 18:09:33 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Mark E." <snowball3 AT bigfoot DOT com>
Message-Id: <9003-Sun17Jun2001180932+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <3B2C8373.13286.11F8C5@localhost> (snowball3@bigfoot.com)
Subject: Re: sysconf addition
References: <3B2C8373 DOT 13286 DOT 11F8C5 AT localhost>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Mark E." <snowball3 AT bigfoot DOT com>
> Date: Sun, 17 Jun 2001 10:16:19 -0400
> 
> This patch adds _SC_V6_ILP32_OFF32 to show that djgpp supports a 32-bit 
> environment.
> 
> Index: include/unistd.h
> ===================================================================
> RCS file: /cvs/djgpp/djgpp/include/unistd.h,v
> retrieving revision 1.11
> diff -c -p -r1.11 unistd.h
> *** include/unistd.h	2001/06/14 02:44:26	1.11
> --- include/unistd.h	2001/06/17 05:08:46
> *************** extern "C" {
> *** 61,66 ****
> --- 61,67 ----
>   #undef  _POSIX_SAVED_IDS
>   #define _POSIX_VDISABLE		-1
>   #define _POSIX_VERSION		199009L
> + #define _POSIX_V6_ILP32_OFF32 0

Shouldn't this be a positive number (e.g., 1)?  We do support the
32-bit environment, and we _always_ support it, so we should return a
non-zero value, according to my understanding of the Posix draft.
Did I miss something?

- Raw text -


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