wchar.h & string.h: use _GNU_SOURCE instead of __USE_GNU.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user