Define __libc_initial for the static libc

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
Florian Weimer 2024-08-09 16:17:14 +02:00
parent 4331769c0f
commit eb0e50e9a1

View File

@ -53,6 +53,9 @@ extern __typeof (__profile_frequency) __profile_frequency attribute_hidden;
is not for an audit module, not loaded via dlmopen, and not loaded
via static dlopen either). */
extern _Bool __libc_initial attribute_hidden;
#else
/* The static libc is always the initial namespace. */
# define __libc_initial ((_Bool) 1)
#endif
#endif /* _LIBC_INTERNAL */