diff options
author | Bruno Haible <bruno@clisp.org> | 2021-03-05 00:21:53 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2021-03-05 00:21:53 +0100 |
commit | 82f2c91ff515da3a657f51fc6b0808351c8d60e3 (patch) | |
tree | 0204f85d70109425c8e297b27fe73dca1a1fb9d6 /lib/stddef.in.h | |
parent | 3c55969da66ccb9e6c0d045261a246254ca4494c (diff) | |
download | gnulib-82f2c91ff515da3a657f51fc6b0808351c8d60e3.tar.gz |
stddef: Generalize tcc workaround to other compilers.
Suggested by Paul Eggert in
<https://lists.gnu.org/archive/html/bug-gnulib/2021-03/msg00027.html>.
* lib/stddef.in.h: Undefine the __need_* macros with all compilers.
* doc/posix-headers/stddef.texi: Mention that the TinyCC bug also exists
on macOS.
Diffstat (limited to 'lib/stddef.in.h')
-rw-r--r-- | lib/stddef.in.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/stddef.in.h b/lib/stddef.in.h index 590e12c77e..a1fc80c7e7 100644 --- a/lib/stddef.in.h +++ b/lib/stddef.in.h @@ -44,13 +44,11 @@ # @INCLUDE_NEXT@ @NEXT_STDDEF_H@ /* On TinyCC, make sure that the macros that indicate the special invocation convention get undefined. */ -# ifdef __TINYC__ -# undef __need_wchar_t -# undef __need_size_t -# undef __need_ptrdiff_t -# undef __need_NULL -# undef __need_wint_t -# endif +# undef __need_wchar_t +# undef __need_size_t +# undef __need_ptrdiff_t +# undef __need_NULL +# undef __need_wint_t # endif #else |