mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
Include <features.h> only if _LIBC.
[!_LIBC]: Define-away __THROW, __BEGIN_DECLS, __END_DECLS.
This commit is contained in:
1 parent
6dfffb70f2
commit
7cc1940663
1 file changed
+11
-1
+11
-1
@@ -32,7 +32,17 @@
|
||||
#ifndef _FTS_H
|
||||
# define _FTS_H 1
|
||||
|
||||
# include <features.h>
|
||||
# ifdef _LIBC
|
||||
# include <features.h>
|
||||
# else
|
||||
# undef __THROW
|
||||
# define __THROW
|
||||
# undef __BEGIN_DECLS
|
||||
# define __BEGIN_DECLS
|
||||
# undef __END_DECLS
|
||||
# define __END_DECLS
|
||||
# endif
|
||||
|
||||
# include <sys/types.h>
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in new issue
Block a user