libstdc++ build failure on darwin5.2
Andreas Tobler
toa@pop.agri.ch
Tue Jan 8 13:35:00 GMT 2002
Stan Shebs wrote:
> Try this patch - it got me through libstdc++ build, it's running
> tests now. If it works with those and other twisted code I have,
> then I'll submit it.
Is it ready to check in Stan?
>From my side yes.
Andreas
>
> Index: stddef.h
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/ginclude/stddef.h,v
> retrieving revision 1.13
> diff -c -3 -p -r1.13 stddef.h
> *** stddef.h 2001/09/11 08:52:39 1.13
> --- stddef.h 2002/01/06 17:53:57
> *************** typedef __PTRDIFF_TYPE__ ptrdiff_t;
> *** 175,180 ****
> --- 175,181 ----
> #ifndef _BSD_SIZE_T_
> #ifndef _SIZE_T_DEFINED_
> #ifndef _SIZE_T_DEFINED
> + #ifndef _BSD_SIZE_T_DEFINED_
> #ifndef ___int_size_t_h
> #ifndef _GCC_SIZE_T
> #ifndef _SIZET_
> *************** typedef __PTRDIFF_TYPE__ ptrdiff_t;
> *** 190,195 ****
> --- 191,197 ----
> #define _BSD_SIZE_T_
> #define _SIZE_T_DEFINED_
> #define _SIZE_T_DEFINED
> + #define _BSD_SIZE_T_DEFINED_ /* for Darwin */
> #define ___int_size_t_h
> #define _GCC_SIZE_T
> #define _SIZET_
> *************** typedef long ssize_t;
> *** 207,212 ****
> --- 209,215 ----
> #endif /* _SIZET_ */
> #endif /* _GCC_SIZE_T */
> #endif /* ___int_size_t_h */
> + #endif /* _BSD_SIZE_T_DEFINED_ */
> #endif /* _SIZE_T_DEFINED */
> #endif /* _SIZE_T_DEFINED_ */
> #endif /* _BSD_SIZE_T_ */
More information about the Libstdc++
mailing list