diff options
author | Eduardo Chappa <chappa@washington.edu> | 2024-01-21 19:03:45 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2024-01-21 19:03:45 -0700 |
commit | a55202787df1d5cfd3e37cb4c021422ee4aa9530 (patch) | |
tree | 5e87cc67b7c0d5e1adcd686e9dc22f11a577e99c /include | |
parent | 0f19719595e79516fdf57e59d0661260c23a1df4 (diff) | |
download | alpine-a55202787df1d5cfd3e37cb4c021422ee4aa9530.tar.xz |
* Clean up some function definitions to comply with strict
prototypes. Suggested and worked in part by Holger Hoffstätte.
Diffstat (limited to 'include')
-rw-r--r-- | include/system.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/system.h b/include/system.h index 1ae6ad07..ef84c60c 100644 --- a/include/system.h +++ b/include/system.h @@ -96,7 +96,11 @@ void *memset(void *, int, size_t); # define collator strucmp #endif -#define PREREQ_FOR_SYS_TRANSLATION (HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_WCWIDTH && HAVE_MBSTOWCS && HAVE_LANGINFO_H && defined(CODESET) && !defined(_WINDOWS)) +#if defined(CODESET) && !defined(_WINDOWS) +#define PREREQ_FOR_SYS_TRANSLATION (HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_WCWIDTH && HAVE_MBSTOWCS && HAVE_LANGINFO_H) +#else +#define PREREQ_FOR_SYS_TRANSLATION (0) +#endif /* System uin32 definition */ #if HAVE_STDINT_H |