Bash-5.3-alpha release

This commit is contained in:
Chet Ramey
2024-04-22 10:33:38 -04:00
parent f3b6bd1945
commit 622d318652
700 changed files with 136534 additions and 96420 deletions
+25 -1
View File
@@ -1,6 +1,6 @@
/* bashansi.h -- Typically included information required by picky compilers. */
/* Copyright (C) 1993-2021 Free Software Foundation, Inc.
/* Copyright (C) 1993-2024 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
@@ -35,4 +35,28 @@
# include "ansi_stdlib.h"
#endif /* !HAVE_STDLIB_H */
/* If bool is not a compiler builtin, prefer stdbool.h if we have it */
#if !defined (HAVE_C_BOOL)
# if defined (HAVE_STDBOOL_H)
# include <stdbool.h>
# else
# undef bool
typedef unsigned char bool;
# define true 1
# define false 0
# endif
#endif
/* Include <stddef.h>, or define substitutes (config.h handles ptrdiff_t). */
#ifdef HAVE_STDDEF_H
# include <stddef.h>
#endif
/* Substitutes for definitions in stddef.h */
#ifndef NULL
# define NULL 0
#endif
#ifndef offsetof
# define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
#endif
#endif /* !_BASHANSI_H_ */