Mail Archives: djgpp-workers/1999/02/12/09:24:33
After going back and forth with the libstdc++ v3 guys, I don't appear to
be getting my way. According to the c9x fcd, the types listed as being
defined in stddef.h don't include wint_t. But they insist that gcc's
stddef.h includes wint_t and if your stddef.h doesn't include it, too bad.
So, here's a patch to add a definition of wint_t to stddef.h in the non-
Ansi, non-Posix section.
*** stddef.h.orig Wed Dec 7 02:02:08 1994
--- stddef.h Fri Feb 12 09:16:10 1999
***************
*** 24,31 ****
--- 24,35 ----
#ifndef __STRICT_ANSI__
#ifndef _POSIX_SOURCE
+ __DJ_wint_t
+ #undef __DJ_wint_t
+ #define __DJ_wint_t
+
#endif /* !_POSIX_SOURCE */
#endif /* !__STRICT_ANSI__ */
#endif /* !__dj_ENFORCE_ANSI_FREESTANDING */
---
Mark Elbrecht snowball3 AT usa DOT net
http://members.xoom.com/snowball3/
- Raw text -