mirror of
https://review.haiku-os.org/haiku
synced 2025-01-31 10:47:14 +01:00
wchar.h & string.h: use _GNU_SOURCE instead of __USE_GNU.
This commit is contained in:
parent
a3b79608f9
commit
2f32fd1dde
@ -22,7 +22,7 @@ extern void *memccpy(void *dest, const void *source, int stopByte, size_t lengt
|
||||
extern void *memmove(void *dest, const void *source, size_t length);
|
||||
extern void *memset(void *dest, int value, size_t length);
|
||||
|
||||
#ifdef __USE_GNU
|
||||
#ifdef _GNU_SOURCE
|
||||
extern void *memrchr(const void *source, int value, size_t length);
|
||||
#endif
|
||||
|
||||
@ -40,7 +40,7 @@ extern char *strchr(const char *string, int character);
|
||||
extern char *strrchr(const char *string, int character);
|
||||
extern char *strstr(const char *string, const char *searchString);
|
||||
|
||||
#ifdef __USE_GNU
|
||||
#ifdef _GNU_SOURCE
|
||||
extern char *strchrnul(const char *string, int character);
|
||||
#endif
|
||||
|
||||
|
@ -94,7 +94,7 @@ extern size_t wcrtomb(char *dest, wchar_t wc, mbstate_t *mbState);
|
||||
extern int wcscasecmp(const wchar_t *wcs1, const wchar_t *wcs2);
|
||||
extern wchar_t *wcscat(wchar_t *dest, const wchar_t *src);
|
||||
extern wchar_t *wcschr(const wchar_t *wcs, wchar_t wc);
|
||||
#ifdef __USE_GNU
|
||||
#ifdef _GNU_SOURCE
|
||||
extern wchar_t *wcschrnul(const wchar_t *wcs, wchar_t wc);
|
||||
#endif
|
||||
extern int wcscmp(const wchar_t *wcs1, const wchar_t *wcs2);
|
||||
@ -141,7 +141,7 @@ extern wchar_t *wmemchr(const wchar_t *wcs, wchar_t wc, size_t n);
|
||||
extern int wmemcmp(const wchar_t *wcs1, const wchar_t *wcs2, size_t n);
|
||||
extern wchar_t *wmemcpy(wchar_t *dest, const wchar_t *src, size_t n);
|
||||
extern wchar_t *wmemmove(wchar_t *dest, const wchar_t *src, size_t n);
|
||||
#ifdef __USE_GNU
|
||||
#ifdef _GNU_SOURCE
|
||||
extern wchar_t *wmempcpy(wchar_t *dest, const wchar_t *src, size_t n);
|
||||
#endif
|
||||
extern wchar_t *wmemset(wchar_t *dest, wchar_t wc, size_t n);
|
||||
|
Loading…
x
Reference in New Issue
Block a user