mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-23 00:59:51 +08:00
Feature test macros overhaul: strings.h
Replace __STRICT_ANSI__ with the proper internal macros for bcmp etc. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
parent
615d63599b
commit
6fe6a822ee
@ -9,12 +9,12 @@
|
|||||||
|
|
||||||
#include "_ansi.h"
|
#include "_ansi.h"
|
||||||
#include <sys/reent.h>
|
#include <sys/reent.h>
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#include <sys/types.h> /* for size_t */
|
#include <sys/types.h> /* for size_t */
|
||||||
|
|
||||||
_BEGIN_STD_C
|
_BEGIN_STD_C
|
||||||
|
|
||||||
#if !defined __STRICT_ANSI__ && _POSIX_VERSION < 200809L
|
#if __BSD_VISIBLE || (__POSIX_VISIBLE && __POSIX_VISIBLE < 200809)
|
||||||
/*
|
/*
|
||||||
* Marked LEGACY in Open Group Base Specifications Issue 6/IEEE Std 1003.1-2004
|
* Marked LEGACY in Open Group Base Specifications Issue 6/IEEE Std 1003.1-2004
|
||||||
* Removed from Open Group Base Specifications Issue 7/IEEE Std 1003.1-2008
|
* Removed from Open Group Base Specifications Issue 7/IEEE Std 1003.1-2008
|
||||||
@ -24,7 +24,7 @@ void _EXFUN(bcopy,(const void *, void *, size_t));
|
|||||||
void _EXFUN(bzero,(void *, size_t));
|
void _EXFUN(bzero,(void *, size_t));
|
||||||
char *_EXFUN(index,(const char *, int));
|
char *_EXFUN(index,(const char *, int));
|
||||||
char *_EXFUN(rindex,(const char *, int));
|
char *_EXFUN(rindex,(const char *, int));
|
||||||
#endif /* ! __STRICT_ANSI__ */
|
#endif /* __BSD_VISIBLE || (__POSIX_VISIBLE && __POSIX_VISIBLE < 200809) */
|
||||||
|
|
||||||
int _EXFUN(ffs,(int));
|
int _EXFUN(ffs,(int));
|
||||||
int _EXFUN(strcasecmp,(const char *, const char *));
|
int _EXFUN(strcasecmp,(const char *, const char *));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user