Mail Archives: djgpp-workers/2001/06/17/11:10:58
> 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 -