aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/g-soccon.ads
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/g-soccon.ads')
-rw-r--r--gcc/ada/g-soccon.ads16
1 files changed, 14 insertions, 2 deletions
diff --git a/gcc/ada/g-soccon.ads b/gcc/ada/g-soccon.ads
index 202f442ec30..f2f00554efd 100644
--- a/gcc/ada/g-soccon.ads
+++ b/gcc/ada/g-soccon.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 2000-2005 Free Software Foundation, Inc. --
+-- Copyright (C) 2000-2005, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -35,7 +35,10 @@
-- by the GNAT.Sockets package (g-socket.ads). This package should not be
-- directly with'ed by an applications program.
--- This is the version for i686-pc-linux-gnu
+-- WARNING! This file is a default version that must be replaced for
+-- each platform.
+-- The values below were computed from a i686-pc-linux-gnu environment.
+
-- This file is generated automatically, do not modify it by hand! Instead,
-- make changes to gen-soccon.c and re-run it on each target.
@@ -169,4 +172,13 @@ package GNAT.Sockets.Constants is
IOV_MAX : constant := 2147483647; -- Maximum writev iovcnt
+ ----------------------
+ -- Type definitions --
+ ----------------------
+
+ -- Sizes (in bytes) of the components of struct timeval
+
+ SIZEOF_tv_sec : constant := 4; -- tv_sec
+ SIZEOF_tv_usec : constant := 4; -- tv_usec
+
end GNAT.Sockets.Constants;