* libc/include/string.h: Fix preprocessor expressions using
_XOPEN_SOURCE.
This commit is contained in:
parent
8af6a76ee6
commit
38305196bf
|
@ -1,3 +1,8 @@
|
||||||
|
2013-01-12 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
|
* libc/include/string.h: Fix preprocessor expressions using
|
||||||
|
_XOPEN_SOURCE.
|
||||||
|
|
||||||
2013-01-11 Corinna Vinschen <vinschen@redhat.com>
|
2013-01-11 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Add code to correctly handle
|
* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Add code to correctly handle
|
||||||
|
|
|
@ -64,13 +64,13 @@ int _EXFUN(strcasecmp,(const char *, const char *));
|
||||||
char *_EXFUN(strcasestr,(const char *, const char *));
|
char *_EXFUN(strcasestr,(const char *, const char *));
|
||||||
char *_EXFUN(strchrnul,(const char *, int));
|
char *_EXFUN(strchrnul,(const char *, int));
|
||||||
#endif
|
#endif
|
||||||
#if !defined(__STRICT_ANSI__) || (_XOPEN_SOURCE >= 500)
|
#if !defined(__STRICT_ANSI__) || (_XOPEN_SOURCE - 0) >= 500
|
||||||
char *_EXFUN(strdup,(const char *));
|
char *_EXFUN(strdup,(const char *));
|
||||||
#endif
|
#endif
|
||||||
#ifndef __STRICT_ANSI__
|
#ifndef __STRICT_ANSI__
|
||||||
char *_EXFUN(_strdup_r,(struct _reent *, const char *));
|
char *_EXFUN(_strdup_r,(struct _reent *, const char *));
|
||||||
#endif
|
#endif
|
||||||
#if !defined(__STRICT_ANSI__) || (_XOPEN_SOURCE >= 700)
|
#if !defined(__STRICT_ANSI__) || (_XOPEN_SOURCE - 0) >= 700
|
||||||
char *_EXFUN(strndup,(const char *, size_t));
|
char *_EXFUN(strndup,(const char *, size_t));
|
||||||
#endif
|
#endif
|
||||||
#ifndef __STRICT_ANSI__
|
#ifndef __STRICT_ANSI__
|
||||||
|
|
Loading…
Reference in New Issue