diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2026-03-26 12:53:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-26 12:53:53 +0100 |
| commit | 13e14a6bfd9f29cbfeab0c5161d2a994f97532e7 (patch) | |
| tree | 3aa7186fe092e42783dc7e981dc39a74ea61c466 /gl/stdint.in.h | |
| parent | 9d8503f90ef25b2cecd324dc118e441f40233ea8 (diff) | |
| download | monitoring-plugins-13e14a6bfd9f29cbfeab0c5161d2a994f97532e7.tar.gz | |
* Sync with the 202601-stable Gnulib code (4a3650d887)
* Ignore more deps stuff in gnulib
* Remove autogenerated gnulib files
* Ignore more gnulib generated headers
Diffstat (limited to 'gl/stdint.in.h')
| -rw-r--r-- | gl/stdint.in.h | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/gl/stdint.in.h b/gl/stdint.in.h index ca566b30..f6066094 100644 --- a/gl/stdint.in.h +++ b/gl/stdint.in.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* Copyright (C) 2001-2002, 2004-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2001-2002, 2004-2026 Free Software Foundation, Inc. |
| 2 | Written by Paul Eggert, Bruno Haible, Sam Steingold, Peter Burwood. | 2 | Written by Paul Eggert, Bruno Haible, Sam Steingold, Peter Burwood. |
| 3 | This file is part of gnulib. | 3 | This file is part of gnulib. |
| 4 | 4 | ||
| @@ -51,13 +51,6 @@ | |||
| 51 | in public interfaces due to compiler differences. */ | 51 | in public interfaces due to compiler differences. */ |
| 52 | 52 | ||
| 53 | #if @HAVE_STDINT_H@ | 53 | #if @HAVE_STDINT_H@ |
| 54 | # if defined __sgi && ! defined __c99 | ||
| 55 | /* Bypass IRIX's <stdint.h> if in C89 mode, since it merely annoys users | ||
| 56 | with "This header file is to be used only for c99 mode compilations" | ||
| 57 | diagnostics. */ | ||
| 58 | # define __STDINT_H__ | ||
| 59 | # endif | ||
| 60 | |||
| 61 | /* Some pre-C++11 <stdint.h> implementations need this. */ | 54 | /* Some pre-C++11 <stdint.h> implementations need this. */ |
| 62 | # ifdef __cplusplus | 55 | # ifdef __cplusplus |
| 63 | # ifndef __STDC_CONSTANT_MACROS | 56 | # ifndef __STDC_CONSTANT_MACROS |
| @@ -94,8 +87,8 @@ | |||
| 94 | 87 | ||
| 95 | #if ! @HAVE_C99_STDINT_H@ | 88 | #if ! @HAVE_C99_STDINT_H@ |
| 96 | 89 | ||
| 97 | /* <sys/types.h> defines some of the stdint.h types as well, on glibc, | 90 | /* <sys/types.h> defines some of the stdint.h types as well, on glibc and |
| 98 | IRIX 6.5, and OpenBSD 3.8 (via <machine/types.h>). | 91 | OpenBSD 3.8 (via <machine/types.h>). |
| 99 | AIX 5.2 <sys/types.h> isn't needed and causes troubles. | 92 | AIX 5.2 <sys/types.h> isn't needed and causes troubles. |
| 100 | Mac OS X 10.4.6 <sys/types.h> includes <stdint.h> (which is us), but | 93 | Mac OS X 10.4.6 <sys/types.h> includes <stdint.h> (which is us), but |
| 101 | relies on the system <stdint.h> definitions, so include | 94 | relies on the system <stdint.h> definitions, so include |
| @@ -584,11 +577,7 @@ typedef int _verify_intmax_size[sizeof (intmax_t) == sizeof (uintmax_t) | |||
| 584 | # endif | 577 | # endif |
| 585 | 578 | ||
| 586 | /* wchar_t limits */ | 579 | /* wchar_t limits */ |
| 587 | /* Get WCHAR_MIN, WCHAR_MAX. | 580 | /* Get WCHAR_MIN, WCHAR_MAX. */ |
| 588 | This include is not on the top, above, because on OSF/1 4.0 we have a | ||
| 589 | sequence of nested includes | ||
| 590 | <wchar.h> -> <stdio.h> -> <getopt.h> -> <stdlib.h>, and the latter includes | ||
| 591 | <stdint.h> and assumes its types are already defined. */ | ||
| 592 | # if @HAVE_WCHAR_H@ && ! (defined WCHAR_MIN && defined WCHAR_MAX) | 581 | # if @HAVE_WCHAR_H@ && ! (defined WCHAR_MIN && defined WCHAR_MAX) |
| 593 | # define _GL_JUST_INCLUDE_SYSTEM_WCHAR_H | 582 | # define _GL_JUST_INCLUDE_SYSTEM_WCHAR_H |
| 594 | # include <wchar.h> | 583 | # include <wchar.h> |
