]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
os_defines.h: Remove obsolete __off_t, __off64_t, __ssize_t defines.
authorPaolo Carlini <pcarlini@suse.de>
Sun, 1 May 2005 16:26:43 +0000 (16:26 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 1 May 2005 16:26:43 +0000 (16:26 +0000)
2005-05-01  Paolo Carlini  <pcarlini@suse.de>

* 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.

From-SVN: r99072

libstdc++-v3/ChangeLog
libstdc++-v3/config/os/aix/os_defines.h
libstdc++-v3/config/os/djgpp/os_defines.h
libstdc++-v3/config/os/hpux/os_defines.h
libstdc++-v3/config/os/irix/irix5.2/os_defines.h
libstdc++-v3/config/os/irix/irix6.5/os_defines.h
libstdc++-v3/config/os/solaris/solaris2.5/os_defines.h
libstdc++-v3/config/os/solaris/solaris2.6/os_defines.h
libstdc++-v3/config/os/solaris/solaris2.7/os_defines.h
libstdc++-v3/docs/html/17_intro/porting.html
libstdc++-v3/docs/html/17_intro/porting.texi

index 48f8a7d3f88df56780cd904cb909ac7da305cc3d..3355220d74786422eeeb7e8c68d69df8c7cc489b 100644 (file)
@@ -1,3 +1,17 @@
+2005-05-01  Paolo Carlini  <pcarlini@suse.de>
+
+       * 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  <pcarlini@suse.de>
            Nathan Myers  <ncm@cantrip.org>
 
index 3e4da946af551a726d854a24801691e5dfaf261b..8d445c434ead8822561c8c17d0683487802be01d 100644 (file)
@@ -43,8 +43,4 @@
 #define _ALL_SOURCE
 #endif
 
-#define __off_t off_t
-#define __off64_t off64_t
-#define __ssize_t ssize_t
-
 #endif
index 5a43c061239cbc63ebc89fe413dce2ef9e59a368..c852ce831b3f2f8699dc2c1a508616ad23bbeeef 100644 (file)
@@ -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
 // 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
index 6cba7390f388aebcab16a4cff39fe0d592915c91..ed790645a7963c0d6f162dd34b2758a10ccd7a6f 100644 (file)
@@ -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
 // 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
 
index 87556f8b7427ab45f4a8c7e8e616799af62d1155..3d84c83067337c90d26be569fdde866dcc58f852 100644 (file)
@@ -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
 // 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
 
index 6b0174b522df5980c992b49d4e92bb8c98046af4..bc6c7464e516af0092015156489325b00f3c43cb 100644 (file)
 // 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
 
index 7e5a14ea41d1155092a1181c00d5afcad67d3a0e..89fab4cfaeb6662327c35c71a7c0532a9de4831d 100644 (file)
@@ -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
 // 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
index 29d6cf5fd87d036044ac91add24a696cf6705ef8..1dc06449f64c22c5076aaee2e89ab1663033ff8c 100644 (file)
@@ -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
 // 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
index 9131aa67e754a70fb600d5217a4e7b6c30cbbb7e..4ced192fbd87db25ed313bfddadca31257a54843 100644 (file)
@@ -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
 // 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
 
index b0275592d30c466e0a67b57e0f579dc7c0122786..54438b898d609b166e1fb97f072591f9810efc2a 100644 (file)
@@ -5,7 +5,7 @@
 <meta name="description" content="Porting libstdc++-v3">
 <meta name="generator" content="makeinfo 4.6">
 <!--
-Copyright &copy; 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+Copyright &copy; 2000, 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
 
    <p>Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.2 or
@@ -114,25 +114,10 @@ OS portion of the triplet (the default), then nothing needs to be changed.
    <p>The first file to create in this directory, should be called
 <code>os_defines.h</code>.  This file contains basic macro definitions
 that are required to allow the C++ library to work with your C library. 
-This file should provide macro definitions for <code>__off_t</code>,
-<code>__off64_t</code>, and <code>__ssize_t</code>.  Typically, this just looks
-like:
 
-<pre class="example">     #define __off_t off_t
-     #define __off64_t off64_t
-     #define __ssize_t ssize_t
-     </pre>
-
-<p>You don't have to provide these definitions if your system library
-already defines these types - but the only library known to provide
-these types is the GNU C Library, so you will almost certainly have to
-provide these macros.  Note that this file does not have to include a
-header file that defines <code>off_t</code>, or the other types; you simply
-have to provide the macros.
-
-   <p>In addition, several libstdc++-v3 source files unconditionally define
-the macro <code>_POSIX_SOURCE</code>.  On many systems, defining this macro
-causes large portions of the C library header files to be eliminated
+   <p>Several libstdc++-v3 source files unconditionally define the macro
+<code>_POSIX_SOURCE</code>.  On many systems, defining this macro causes
+large portions of the C library header files to be eliminated
 at preprocessing time.  Therefore, you may have to <code>#undef</code> this
 macro, or define other macros (like <code>_LARGEFILE_SOURCE</code> or
 <code>__EXTENSIONS__</code>).  You won't know what macros to define or
index 988c2c2203a64ce9b066468c0e8eb9bbdb78bbee..090bdf771556536f4cea901e55303540265f774c 100644 (file)
@@ -9,7 +9,8 @@
 @setchapternewpage odd
 
 @copying
-Copyright @copyright{} 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+Copyright @copyright{} 2000, 2001, 2002, 2003, 2005 
+Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.2 or
@@ -120,27 +121,10 @@ OS portion of the triplet (the default), then nothing needs to be changed.
 The first file to create in this directory, should be called
 @file{os_defines.h}.  This file contains basic macro definitions
 that are required to allow the C++ library to work with your C library.
-This file should provide macro definitions for @code{__off_t},
-@code{__off64_t}, and @code{__ssize_t}.  Typically, this just looks
-like:
 
-@example
-#define __off_t off_t
-#define __off64_t off64_t
-#define __ssize_t ssize_t
-@end example
-
-@noindent
-You don't have to provide these definitions if your system library
-already defines these types -- but the only library known to provide
-these types is the GNU C Library, so you will almost certainly have to
-provide these macros.  Note that this file does not have to include a
-header file that defines @code{off_t}, or the other types; you simply
-have to provide the macros.
-
-In addition, several libstdc++-v3 source files unconditionally define
-the macro @code{_POSIX_SOURCE}.  On many systems, defining this macro
-causes large portions of the C library header files to be eliminated
+Several libstdc++-v3 source files unconditionally define the macro
+@code{_POSIX_SOURCE}.  On many systems, defining this macro causes
+large portions of the C library header files to be eliminated
 at preprocessing time.  Therefore, you may have to @code{#undef} this
 macro, or define other macros (like @code{_LARGEFILE_SOURCE} or
 @code{__EXTENSIONS__}).  You won't know what macros to define or