diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 48f8a7d3f88d..3355220d7478 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,17 @@ +2005-05-01 Paolo Carlini + + * config/os/aix/os_defines.h: Remove obsolete __off_t, + __off64_t, __ssize_t defines. + * config/os/djgpp/os_defines.h: Likewise. + * config/os/hpux/os_defines.h: Likewise. + * config/os/irix/irix5.2/os_defines.h: Likewise. + * config/os/irix/irix6.5/os_defines.h: Likewise. + * config/os/solaris/solaris2.5/os_defines.h: Likewise. + * config/os/solaris/solaris2.6/os_defines.h: Likewise. + * config/os/solaris/solaris2.7/os_defines.h: Likewise. + * docs/html/17_intro/porting.html: Don't discuss the defines. + * docs/html/17_intro/porting.texi: Likewise. + 2005-04-29 Paolo Carlini Nathan Myers diff --git a/libstdc++-v3/config/os/aix/os_defines.h b/libstdc++-v3/config/os/aix/os_defines.h index 3e4da946af55..8d445c434ead 100644 --- a/libstdc++-v3/config/os/aix/os_defines.h +++ b/libstdc++-v3/config/os/aix/os_defines.h @@ -43,8 +43,4 @@ #define _ALL_SOURCE #endif -#define __off_t off_t -#define __off64_t off64_t -#define __ssize_t ssize_t - #endif diff --git a/libstdc++-v3/config/os/djgpp/os_defines.h b/libstdc++-v3/config/os/djgpp/os_defines.h index 5a43c061239c..c852ce831b3f 100644 --- a/libstdc++-v3/config/os/djgpp/os_defines.h +++ b/libstdc++-v3/config/os/djgpp/os_defines.h @@ -1,6 +1,6 @@ // Specific definitions for DJGPP -*- C++ -*- -// Copyright (C) 2001 Free Software Foundation, Inc. +// Copyright (C) 2001, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -34,10 +34,6 @@ // System-specific #define, typedefs, corrections, etc, go here. This // file will come before all others. -#define __off_t off_t -#define __off64_t off64_t -#define __ssize_t ssize_t - // FIXME: should there be '#undef POSIX_SOURCE'? #endif diff --git a/libstdc++-v3/config/os/hpux/os_defines.h b/libstdc++-v3/config/os/hpux/os_defines.h index 6cba7390f388..ed790645a796 100644 --- a/libstdc++-v3/config/os/hpux/os_defines.h +++ b/libstdc++-v3/config/os/hpux/os_defines.h @@ -1,6 +1,6 @@ // Specific definitions for HPUX -*- C++ -*- -// Copyright (C) 2000, 2002, 2004 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -33,10 +33,6 @@ // System-specific #define, typedefs, corrections, etc, go here. This // file will come before all others. -#define __off_t off_t -#define __off64_t off64_t -#define __ssize_t ssize_t - // Use macro form of ctype functions to ensure __SB_masks is defined. #define _SB_CTYPE_MACROS 1 diff --git a/libstdc++-v3/config/os/irix/irix5.2/os_defines.h b/libstdc++-v3/config/os/irix/irix5.2/os_defines.h index 87556f8b7427..3d84c8306733 100644 --- a/libstdc++-v3/config/os/irix/irix5.2/os_defines.h +++ b/libstdc++-v3/config/os/irix/irix5.2/os_defines.h @@ -1,6 +1,6 @@ // Specific definitions for IRIX -*- C++ -*- -// Copyright (C) 2001, 2002 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -44,10 +44,6 @@ // the command-line. #undef _POSIX_SOURCE -#define __off_t off_t -#define __off64_t off64_t -#define __ssize_t ssize_t - // GCC does not use thunks on IRIX. #define _G_USING_THUNKS 0 diff --git a/libstdc++-v3/config/os/irix/irix6.5/os_defines.h b/libstdc++-v3/config/os/irix/irix6.5/os_defines.h index 6b0174b522df..bc6c7464e516 100644 --- a/libstdc++-v3/config/os/irix/irix6.5/os_defines.h +++ b/libstdc++-v3/config/os/irix/irix6.5/os_defines.h @@ -44,10 +44,6 @@ // the command-line. #undef _POSIX_SOURCE -#define __off_t off_t -#define __off64_t off64_t -#define __ssize_t ssize_t - // GCC does not use thunks on IRIX. #define _G_USING_THUNKS 0 diff --git a/libstdc++-v3/config/os/solaris/solaris2.5/os_defines.h b/libstdc++-v3/config/os/solaris/solaris2.5/os_defines.h index 7e5a14ea41d1..89fab4cfaeb6 100644 --- a/libstdc++-v3/config/os/solaris/solaris2.5/os_defines.h +++ b/libstdc++-v3/config/os/solaris/solaris2.5/os_defines.h @@ -1,6 +1,6 @@ // Specific definitions for Solaris 2.5 -*- C++ -*- -// Copyright (C) 2000, 2002 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -33,10 +33,4 @@ // System-specific #define, typedefs, corrections, etc, go here. This // file will come before all others. -// These are typedefs which libio assumes are already in place (because -// they really are, under Linux). -#define __off_t off_t -#define __off64_t off64_t -#define __ssize_t ssize_t - #endif diff --git a/libstdc++-v3/config/os/solaris/solaris2.6/os_defines.h b/libstdc++-v3/config/os/solaris/solaris2.6/os_defines.h index 29d6cf5fd87d..1dc06449f64c 100644 --- a/libstdc++-v3/config/os/solaris/solaris2.6/os_defines.h +++ b/libstdc++-v3/config/os/solaris/solaris2.6/os_defines.h @@ -1,6 +1,6 @@ // Specific definitions for Solaris 2.6 -*- C++ -*- -// Copyright (C) 2000, 2002 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -33,10 +33,4 @@ // System-specific #define, typedefs, corrections, etc, go here. This // file will come before all others. -// These are typedefs which libio assumes are already in place (because -// they really are, under Linux). -#define __off_t off_t -#define __off64_t off64_t -#define __ssize_t ssize_t - #endif diff --git a/libstdc++-v3/config/os/solaris/solaris2.7/os_defines.h b/libstdc++-v3/config/os/solaris/solaris2.7/os_defines.h index 9131aa67e754..4ced192fbd87 100644 --- a/libstdc++-v3/config/os/solaris/solaris2.7/os_defines.h +++ b/libstdc++-v3/config/os/solaris/solaris2.7/os_defines.h @@ -1,6 +1,6 @@ // Specific definitions for Solaris 7,8 -*- C++ -*- -// Copyright (C) 2000, 2002 Free Software Foundation, Inc. +// Copyright (C) 2000, 2002, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -33,11 +33,5 @@ // System-specific #define, typedefs, corrections, etc, go here. This // file will come before all others. -// These are typedefs which libio assumes are already in place (because -// they really are, under Linux). -#define __off_t off_t -#define __off64_t off64_t -#define __ssize_t ssize_t - #endif diff --git a/libstdc++-v3/docs/html/17_intro/porting.html b/libstdc++-v3/docs/html/17_intro/porting.html index b0275592d30c..54438b898d60 100644 --- a/libstdc++-v3/docs/html/17_intro/porting.html +++ b/libstdc++-v3/docs/html/17_intro/porting.html @@ -5,7 +5,7 @@