> 2020-06-28 Bruno Haible
>
> getrandom: Fix compilation errors on older versions of mingw.
Oops, this patch produced compilation errors. Here's the fix.
2020-07-03 Bruno Haible
getrandom: Fix compilation error on native Windows (regr. 2020-06-28).
* lib/getrandom.c
For many years now, we have this (unwritten) convention regarding names of
files in tests/:
- Files that start with "test-" are test files for a specific module.
- Other files are shared (or can be shared) among multiple modules.
Only the 'dfa' tests don't follow this convention.
2020-07-03
> - Solaris cc: are handled through inline asm, based on the code that
> GCC would generate.
Sun Studio 11 cc (__SUNPRO_C == 0x580) does not support GCC extended asm syntax,
but Sun Studio 12 cc (__SUNPRO_C >= 0x590) does.
2020-07-03 Bruno Haible
asyncsafe-spin: Use GCC extende
A small code unification:
2020-07-03 Bruno Haible
asyncsafe-spin: Reduce code duplication.
* lib/asyncsafe-spin.c: (do_lock, do_unlock): New functions.
(asyncsafe_spin_lock, asyncsafe_spin_unlock): Use them.
* modules/asyncsafe-spin (configure.ac): Require AC_C
lib/unictype/3level.h and lib/unictype/3levelbit.h use 'static inline'.
Therefore they need AC_C_INLINE.
2020-07-03 Bruno Haible
gen-uni-tables: Make sure the compiler does not barf on 'inline'.
* modules/gen-uni-tables (configure.ac): Require AC_C_INLINE.
diff --git a/module
lib/lchmod.c does not use 'static inline' any more since 2020-02-22.
Therefore no more need for AC_C_INLINE here.
2020-07-03 Bruno Haible
lchmod: Simplify after 2020-02-22 change.
* m4/lchmod.m4 (gl_FUNC_LCHMOD): Don't require AC_C_INLINE.
diff --git a/m4/lchmod.m4 b/m4/lchmo
lib/dfa.c uses 'static inline'. Therefore it needs AC_C_INLINE.
2020-07-03 Bruno Haible
dfa: Make sure the compiler does not barf on 'inline'.
* modules/dfa (configure.ac): Require AC_C_INLINE.
diff --git a/modules/dfa b/modules/dfa
index ade4b5a..303957f 100644
--- a/modules
The files
lib/bitset.h
lib/bitset.c
lib/bitset/array.c
lib/bitset/list.c
lib/bitset/table.c
lib/bitset/vector.c
use 'static inline'. To prevent compilation errors with old compilers or with
"gcc -ansi" or such, configure needs to execute AC_C_INLINE.
2020-07-03 Bruno Haible