1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-04-28 06:33:36 +00:00

stdc_load8_aligned, stdc_store8_aligned: Don't use <byteswap.h>.

* lib/stdbit.in.h: Don't include <byteswap.h>.
(_GL_STDBIT_BSWAP16, _GL_STDBIT_BSWAP32, _GL_STDBIT_BSWAP64): Remove
macros.
(stdc_memreverse8u8, stdc_memreverse8u16, stdc_memreverse8u32,
stdc_memreverse8u64): Generalize: Take uint_least* parameter.
(stdc_load8_aligned_*, stdc_store8_aligned_*): Use stdc_memreverse8u16,
stdc_memreverse8u32, stdc_memreverse8u64 instead of _GL_STDBIT_BSWAP16,
_GL_STDBIT_BSWAP32, _GL_STDBIT_BSWAP64.
This commit is contained in:
Bruno Haible
2026-03-15 13:24:24 +01:00
parent ee8c16407d
commit 56df453390
4 changed files with 34 additions and 44 deletions

View File

@@ -8,7 +8,7 @@ Depends-on:
stdbit-h
stdc_load8
stdint-h
byteswap
stdc_memreverse8u
configure.ac:
AC_REQUIRE([gl_STDBIT_H])

View File

@@ -8,7 +8,7 @@ Depends-on:
stdbit-h
stdc_store8
stdint-h
byteswap
stdc_memreverse8u
configure.ac:
AC_REQUIRE([gl_STDBIT_H])