cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] ccvs/windows-NT ChangeLog stdint.h


From: Mark D. Baushke
Subject: [Cvs-cvs] ccvs/windows-NT ChangeLog stdint.h
Date: Wed, 25 Jan 2006 12:53:46 +0000

CVSROOT:        /cvsroot/cvs
Module name:    ccvs
Branch:         
Changes by:     Mark D. Baushke <address@hidden>        06/01/25 12:53:46

Modified files:
        windows-NT     : ChangeLog stdint.h 

Log message:
        * doc/getdate.texi: Update from GNULIB.
        
        * lib/chdir-long.c, lib/getopt.c, lib/gettime.c, lib/glob-libc.h,
        lib/glob_.h, lib/intprops.h, lib/md5.c, lib/md5.h, lib/mkdirat.c,
        lib/openat-priv.h, lib/openat.c, lib/openat.h, lib/quotearg.c,
        lib/regex_internal.h, lib/save-cwd.c, lib/socket_.h, lib/stdbool_.h,
        lib/stdint_.h, lib/strftime.c, lib/vasnprintf.c: Update from GNULIB.
        
        * m4/fpending.m4, m4/getopt.m4, m4/gnulib-comp.m4, m4/openat.m4,
        m4/socklen.m4, m4/stdbool.m4, m4/stdint.m4, m4/sys_socket_h.m4: Update
        from GNULIB.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/windows-NT/ChangeLog.diff?tr1=1.346&tr2=1.347&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/cvs/ccvs/windows-NT/stdint.h.diff?tr1=1.4&tr2=1.5&r1=text&r2=text

Patches:
Index: ccvs/windows-NT/ChangeLog
diff -u ccvs/windows-NT/ChangeLog:1.346 ccvs/windows-NT/ChangeLog:1.347
--- ccvs/windows-NT/ChangeLog:1.346     Sun Jan  1 00:34:27 2006
+++ ccvs/windows-NT/ChangeLog   Wed Jan 25 12:53:46 2006
@@ -1,3 +1,7 @@
+2006-01-25  Mark D. Baushke  <address@hidden>
+
+       * stdint.h: Update from GNULIB.
+
 2005-12-31  Mark D. Baushke  <address@hidden>
 
        * config.h.in.in: Add #undef missing symbols found by mkconfig.pl
Index: ccvs/windows-NT/stdint.h
diff -u ccvs/windows-NT/stdint.h:1.4 ccvs/windows-NT/stdint.h:1.5
--- ccvs/windows-NT/stdint.h:1.4        Wed Dec  7 10:51:45 2005
+++ ccvs/windows-NT/stdint.h    Wed Jan 25 12:53:46 2006
@@ -5,7 +5,7 @@
  *
  * Edit ../lib/stdint_.h instead.
  */
-/* Copyright (C) 2001-2002, 2004-2005 Free Software Foundation, Inc.
+/* Copyright (C) 2001-2002, 2004-2006 Free Software Foundation, Inc.
    Written by Bruno Haible, Sam Steingold, Peter Burwood.
    This file is part of gnulib.
 
@@ -40,6 +40,12 @@
 #if defined(__FreeBSD__)
 # include <sys/inttypes.h>
 #endif
+#if defined(__linux__) && HAVE_SYS_BITYPES_H
+  /* Linux libc4 >= 4.6.7 and libc5 have a <sys/bitypes.h> that defines
+     int{8,16,32,64}_t and __BIT_TYPES_DEFINED__.  In libc5 >= 5.2.2 it is
+     included by <sys/types.h>.  */
+# include <sys/bitypes.h>
+#endif
 #if defined(__sun) && HAVE_SYS_INTTYPES_H
 # include <sys/inttypes.h>
   /* Solaris 7 <sys/inttypes.h> has the types except the *_fast*_t types, and
@@ -55,7 +61,7 @@
      UINTPTR_MAX, PTRDIFF_MIN, PTRDIFF_MAX.  */
 # define _STDINT_H_HAVE_SYSTEM_INTTYPES
 #endif
-#if !(defined(UNIX_CYGWIN32) && defined(__BIT_TYPES_DEFINED__))
+#if !((defined(UNIX_CYGWIN32) || defined(__linux__)) && 
defined(__BIT_TYPES_DEFINED__))
 # define _STDINT_H_NEED_SIGNED_INT_TYPES
 #endif
 
@@ -245,8 +251,8 @@
 #define SIG_ATOMIC_MIN 0
 #define SIG_ATOMIC_MAX 127
 
-#ifndef SIZE_MAX
-# define SIZE_MAX ((size_t) -1)
+#ifndef SIZE_MAX /* SIZE_MAX may also be defined in config.h. */
+# define SIZE_MAX ((size_t)~(size_t)0)
 #endif
 
 /* wchar_t limits already defined in <stddef.h>.  */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]