summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-11-21 14:56:43 +0000
committerEric Andersen <andersen@codepoet.org>2001-11-21 14:56:43 +0000
commitee185898f61c50ad0b174b45a58c38054571a0b3 (patch)
treec0b0de7a9c86c0805e492a2af62672a2750b7147
parente625699c3b1a636fa86ed19f96a70e11a23cd020 (diff)
Adjust naming for __FORCE_GLIBC__ to __FORCE_GLIBC and add
support for __FORCE_NOGLIBC per Brian Stafford <brian.stafford@office-logic.com>
-rw-r--r--README22
-rw-r--r--include/features.h2
-rw-r--r--libc/inet/addr.c2
-rw-r--r--libc/inet/getnetbyad.c2
-rw-r--r--libc/inet/getnetbynm.c2
-rw-r--r--libc/inet/getnetent.c2
-rw-r--r--libc/inet/getproto.c2
-rw-r--r--libc/inet/getservice.c2
-rw-r--r--libc/inet/herror.c2
-rw-r--r--libc/inet/hostid.c2
-rw-r--r--libc/inet/inet_net.c2
-rw-r--r--libc/inet/ntop.c2
-rw-r--r--libc/inet/resolv.c2
-rw-r--r--libc/inet/rpc/auth_none.c2
-rw-r--r--libc/inet/rpc/auth_unix.c2
-rw-r--r--libc/inet/rpc/authunix_prot.c2
-rw-r--r--libc/inet/rpc/bindresvport.c2
-rw-r--r--libc/inet/rpc/clnt_generic.c2
-rw-r--r--libc/inet/rpc/clnt_perror.c2
-rw-r--r--libc/inet/rpc/clnt_raw.c2
-rw-r--r--libc/inet/rpc/clnt_simple.c2
-rw-r--r--libc/inet/rpc/clnt_tcp.c2
-rw-r--r--libc/inet/rpc/clnt_udp.c2
-rw-r--r--libc/inet/rpc/get_myaddress.c2
-rw-r--r--libc/inet/rpc/getrpcent.c2
-rw-r--r--libc/inet/rpc/getrpcport.c2
-rw-r--r--libc/inet/rpc/pmap_clnt.c2
-rw-r--r--libc/inet/rpc/pmap_getmaps.c2
-rw-r--r--libc/inet/rpc/pmap_getport.c2
-rw-r--r--libc/inet/rpc/pmap_prot.c2
-rw-r--r--libc/inet/rpc/pmap_prot2.c2
-rw-r--r--libc/inet/rpc/pmap_rmt.c2
-rw-r--r--libc/inet/rpc/rpc_callmsg.c2
-rw-r--r--libc/inet/rpc/rpc_commondata.c2
-rw-r--r--libc/inet/rpc/rpc_dtablesize.c2
-rw-r--r--libc/inet/rpc/rpc_prot.c2
-rw-r--r--libc/inet/rpc/svc.c2
-rw-r--r--libc/inet/rpc/svc_auth.c2
-rw-r--r--libc/inet/rpc/svc_auth_unix.c2
-rw-r--r--libc/inet/rpc/svc_raw.c2
-rw-r--r--libc/inet/rpc/svc_run.c2
-rw-r--r--libc/inet/rpc/svc_simple.c2
-rw-r--r--libc/inet/rpc/svc_tcp.c2
-rw-r--r--libc/inet/rpc/svc_udp.c2
-rw-r--r--libc/inet/rpc/xdr.c2
-rw-r--r--libc/inet/rpc/xdr_array.c2
-rw-r--r--libc/inet/rpc/xdr_float.c2
-rw-r--r--libc/inet/rpc/xdr_mem.c2
-rw-r--r--libc/inet/rpc/xdr_rec.c2
-rw-r--r--libc/inet/rpc/xdr_reference.c2
-rw-r--r--libc/inet/rpc/xdr_stdio.c2
-rw-r--r--libc/inet/socketcalls.c2
-rw-r--r--libc/misc/syslog/syslog.c2
-rw-r--r--libc/sysdeps/linux/common/cmsg_nxthdr.c2
54 files changed, 71 insertions, 57 deletions
diff --git a/README b/README
index 34268dfc8..2d9d55c2c 100644
--- a/README
+++ b/README
@@ -44,7 +44,21 @@ To compile programs with uClibc,
and then just ./configure and make as usual.
-Note: You may also want to look at extra/gcc-uclibc/gcc-uclibc.c for
- additional information concerning what options and environment
- variables the gcc wrapper handles.
-
+Note:
+
+ You may also want to look at extra/gcc-uclibc/gcc-uclibc.c for
+ additional information concerning what options and environment
+ variables the gcc wrapper handles.
+
+Note2:
+
+ There is an unwholesomely huge amount of code out there that
+ depends on the presence of GNU libc header files. We have GNU
+ libc header files. So we have committed a horrible sin in
+ uClibc. We _lie_ and claim to be GNU libc in order to force
+ many applications to work as their developers intended. This
+ is IMHO, pardonable, since these defines are not really
+ intended to check for the presence of a particular library, but
+ rather are used to define an _interface_. Some programs (such
+ as GNU binutils) are especially chummy with glibc, and need
+ this behavior disabled by adding CFLAGS+=-D__FORCE_NOGLIBC
diff --git a/include/features.h b/include/features.h
index 3d61b76d9..db3e9a7af 100644
--- a/include/features.h
+++ b/include/features.h
@@ -263,7 +263,7 @@
* their developers intended. This is IMHO, pardonable, since these defines
* are not really intended to check for the presence of a particular library,
* but rather are used to define an _interface_. */
-#if !defined _LIBC || defined __FORCE_GLIBC__
+#if !defined __FORCE_NOGLIBC && (!defined _LIBC || defined __FORCE_GLIBC)
# define __GNU_LIBRARY__ 6
# define __GLIBC__ 2
# define __GLIBC_MINOR__ 2
diff --git a/libc/inet/addr.c b/libc/inet/addr.c
index 305447b1f..8feb77c62 100644
--- a/libc/inet/addr.c
+++ b/libc/inet/addr.c
@@ -12,7 +12,7 @@
* inet_ntoa in half (from 190 bytes down to 94).
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
#include <string.h>
#include <ctype.h>
diff --git a/libc/inet/getnetbyad.c b/libc/inet/getnetbyad.c
index 64ca24abd..0776ed7cf 100644
--- a/libc/inet/getnetbyad.c
+++ b/libc/inet/getnetbyad.c
@@ -15,7 +15,7 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
#include <netdb.h>
diff --git a/libc/inet/getnetbynm.c b/libc/inet/getnetbynm.c
index a800fe845..456c337c1 100644
--- a/libc/inet/getnetbynm.c
+++ b/libc/inet/getnetbynm.c
@@ -15,7 +15,7 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
#include <netdb.h>
#include <string.h>
diff --git a/libc/inet/getnetent.c b/libc/inet/getnetent.c
index 9f58a8f8b..39aab1a97 100644
--- a/libc/inet/getnetent.c
+++ b/libc/inet/getnetent.c
@@ -15,7 +15,7 @@
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
#include <stdio.h>
#include <netdb.h>
diff --git a/libc/inet/getproto.c b/libc/inet/getproto.c
index 6a3017678..e5c6d9068 100644
--- a/libc/inet/getproto.c
+++ b/libc/inet/getproto.c
@@ -51,7 +51,7 @@
** SUCH DAMAGE.
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
#include <sys/types.h>
#include <sys/socket.h>
diff --git a/libc/inet/getservice.c b/libc/inet/getservice.c
index 8b89d74a0..5ba4d4a92 100644
--- a/libc/inet/getservice.c
+++ b/libc/inet/getservice.c
@@ -52,7 +52,7 @@
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
#include <sys/types.h>
#include <sys/socket.h>
diff --git a/libc/inet/herror.c b/libc/inet/herror.c
index 7ccf51e47..b95d3d913 100644
--- a/libc/inet/herror.c
+++ b/libc/inet/herror.c
@@ -17,7 +17,7 @@
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
#include <stdio.h>
#include <string.h>
diff --git a/libc/inet/hostid.c b/libc/inet/hostid.c
index 0873aa4fc..e90cf256c 100644
--- a/libc/inet/hostid.c
+++ b/libc/inet/hostid.c
@@ -1,4 +1,4 @@
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
#include <stdio.h>
#include <string.h>
diff --git a/libc/inet/inet_net.c b/libc/inet/inet_net.c
index 1243b603b..b49a4b92d 100644
--- a/libc/inet/inet_net.c
+++ b/libc/inet/inet_net.c
@@ -32,7 +32,7 @@
* SUCH DAMAGE.
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
#include <ctype.h>
#include <netinet/in.h>
diff --git a/libc/inet/ntop.c b/libc/inet/ntop.c
index 32f88e20c..144e790b1 100644
--- a/libc/inet/ntop.c
+++ b/libc/inet/ntop.c
@@ -15,7 +15,7 @@
* SOFTWARE.
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
#include <sys/param.h>
#include <sys/types.h>
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index fea9a0c56..710b35937 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -43,7 +43,7 @@
* defined ip6addr_any and in6addr_loopback)
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
#include <string.h>
#include <stdio.h>
diff --git a/libc/inet/rpc/auth_none.c b/libc/inet/rpc/auth_none.c
index 4cb1fbc40..08cc1940e 100644
--- a/libc/inet/rpc/auth_none.c
+++ b/libc/inet/rpc/auth_none.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/auth_unix.c b/libc/inet/rpc/auth_unix.c
index 34b89dc0c..003763003 100644
--- a/libc/inet/rpc/auth_unix.c
+++ b/libc/inet/rpc/auth_unix.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/authunix_prot.c b/libc/inet/rpc/authunix_prot.c
index 07a2ca906..e3ad64644 100644
--- a/libc/inet/rpc/authunix_prot.c
+++ b/libc/inet/rpc/authunix_prot.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/bindresvport.c b/libc/inet/rpc/bindresvport.c
index 800398ae4..752360232 100644
--- a/libc/inet/rpc/bindresvport.c
+++ b/libc/inet/rpc/bindresvport.c
@@ -31,7 +31,7 @@
* Copyright (c) 1987 by Sun Microsystems, Inc.
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
#include <unistd.h>
#include <string.h>
diff --git a/libc/inet/rpc/clnt_generic.c b/libc/inet/rpc/clnt_generic.c
index 5b62e8609..5b4b5997f 100644
--- a/libc/inet/rpc/clnt_generic.c
+++ b/libc/inet/rpc/clnt_generic.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
* Copyright (C) 1987, Sun Microsystems, Inc.
diff --git a/libc/inet/rpc/clnt_perror.c b/libc/inet/rpc/clnt_perror.c
index aef1260fe..a3a119d6e 100644
--- a/libc/inet/rpc/clnt_perror.c
+++ b/libc/inet/rpc/clnt_perror.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/clnt_raw.c b/libc/inet/rpc/clnt_raw.c
index dce052455..b10db18b6 100644
--- a/libc/inet/rpc/clnt_raw.c
+++ b/libc/inet/rpc/clnt_raw.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/clnt_simple.c b/libc/inet/rpc/clnt_simple.c
index c0369e17c..3ec4aedfe 100644
--- a/libc/inet/rpc/clnt_simple.c
+++ b/libc/inet/rpc/clnt_simple.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/clnt_tcp.c b/libc/inet/rpc/clnt_tcp.c
index 051f1eb45..790ec0706 100644
--- a/libc/inet/rpc/clnt_tcp.c
+++ b/libc/inet/rpc/clnt_tcp.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/clnt_udp.c b/libc/inet/rpc/clnt_udp.c
index 7ecafbc78..e11f9b8c6 100644
--- a/libc/inet/rpc/clnt_udp.c
+++ b/libc/inet/rpc/clnt_udp.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/get_myaddress.c b/libc/inet/rpc/get_myaddress.c
index 333dbabc8..1b80207f5 100644
--- a/libc/inet/rpc/get_myaddress.c
+++ b/libc/inet/rpc/get_myaddress.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/getrpcent.c b/libc/inet/rpc/getrpcent.c
index 31bb6c087..283c3387e 100644
--- a/libc/inet/rpc/getrpcent.c
+++ b/libc/inet/rpc/getrpcent.c
@@ -1,5 +1,5 @@
/* @(#)getrpcent.c 2.2 88/07/29 4.0 RPCSRC */
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/getrpcport.c b/libc/inet/rpc/getrpcport.c
index 7fd3aa631..295c23702 100644
--- a/libc/inet/rpc/getrpcport.c
+++ b/libc/inet/rpc/getrpcport.c
@@ -1,5 +1,5 @@
/* @(#)getrpcport.c 2.1 88/07/29 4.0 RPCSRC */
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
diff --git a/libc/inet/rpc/pmap_clnt.c b/libc/inet/rpc/pmap_clnt.c
index bff3bb236..ccd912363 100644
--- a/libc/inet/rpc/pmap_clnt.c
+++ b/libc/inet/rpc/pmap_clnt.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/pmap_getmaps.c b/libc/inet/rpc/pmap_getmaps.c
index 58fc0c25b..7ebe472a5 100644
--- a/libc/inet/rpc/pmap_getmaps.c
+++ b/libc/inet/rpc/pmap_getmaps.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/pmap_getport.c b/libc/inet/rpc/pmap_getport.c
index 519d7d933..f1e771cde 100644
--- a/libc/inet/rpc/pmap_getport.c
+++ b/libc/inet/rpc/pmap_getport.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/pmap_prot.c b/libc/inet/rpc/pmap_prot.c
index 7b12b3cde..637da4886 100644
--- a/libc/inet/rpc/pmap_prot.c
+++ b/libc/inet/rpc/pmap_prot.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/pmap_prot2.c b/libc/inet/rpc/pmap_prot2.c
index 028e85d76..3512b7dbe 100644
--- a/libc/inet/rpc/pmap_prot2.c
+++ b/libc/inet/rpc/pmap_prot2.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/pmap_rmt.c b/libc/inet/rpc/pmap_rmt.c
index f330db07d..13b557d71 100644
--- a/libc/inet/rpc/pmap_rmt.c
+++ b/libc/inet/rpc/pmap_rmt.c
@@ -36,7 +36,7 @@
* Copyright (C) 1984, Sun Microsystems, Inc.
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
#include <unistd.h>
#include <string.h>
diff --git a/libc/inet/rpc/rpc_callmsg.c b/libc/inet/rpc/rpc_callmsg.c
index 0a7c5c952..c6afbdcee 100644
--- a/libc/inet/rpc/rpc_callmsg.c
+++ b/libc/inet/rpc/rpc_callmsg.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/rpc_commondata.c b/libc/inet/rpc/rpc_commondata.c
index 28647031e..b936017ae 100644
--- a/libc/inet/rpc/rpc_commondata.c
+++ b/libc/inet/rpc/rpc_commondata.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
#include <rpc/rpc.h>
/*
diff --git a/libc/inet/rpc/rpc_dtablesize.c b/libc/inet/rpc/rpc_dtablesize.c
index 69669459e..fdf6c1b1f 100644
--- a/libc/inet/rpc/rpc_dtablesize.c
+++ b/libc/inet/rpc/rpc_dtablesize.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
#include <rpc/clnt.h>
diff --git a/libc/inet/rpc/rpc_prot.c b/libc/inet/rpc/rpc_prot.c
index 866c2f704..1904bb0e6 100644
--- a/libc/inet/rpc/rpc_prot.c
+++ b/libc/inet/rpc/rpc_prot.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/svc.c b/libc/inet/rpc/svc.c
index 780a33725..89f10a696 100644
--- a/libc/inet/rpc/svc.c
+++ b/libc/inet/rpc/svc.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/svc_auth.c b/libc/inet/rpc/svc_auth.c
index 29e893a88..bb7061339 100644
--- a/libc/inet/rpc/svc_auth.c
+++ b/libc/inet/rpc/svc_auth.c
@@ -1,4 +1,4 @@
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
diff --git a/libc/inet/rpc/svc_auth_unix.c b/libc/inet/rpc/svc_auth_unix.c
index 6b11ee6a0..3d1de4ee4 100644
--- a/libc/inet/rpc/svc_auth_unix.c
+++ b/libc/inet/rpc/svc_auth_unix.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/svc_raw.c b/libc/inet/rpc/svc_raw.c
index ecc997773..17d620eba 100644
--- a/libc/inet/rpc/svc_raw.c
+++ b/libc/inet/rpc/svc_raw.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/svc_run.c b/libc/inet/rpc/svc_run.c
index 01e387ad0..cae787b92 100644
--- a/libc/inet/rpc/svc_run.c
+++ b/libc/inet/rpc/svc_run.c
@@ -1,5 +1,5 @@
/* @(#)svc_run.c 2.1 88/07/29 4.0 RPCSRC */
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/svc_simple.c b/libc/inet/rpc/svc_simple.c
index 5d5c76ad4..73527875b 100644
--- a/libc/inet/rpc/svc_simple.c
+++ b/libc/inet/rpc/svc_simple.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/svc_tcp.c b/libc/inet/rpc/svc_tcp.c
index 082f51464..9adc11526 100644
--- a/libc/inet/rpc/svc_tcp.c
+++ b/libc/inet/rpc/svc_tcp.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/svc_udp.c b/libc/inet/rpc/svc_udp.c
index c0b0c2237..0004acedc 100644
--- a/libc/inet/rpc/svc_udp.c
+++ b/libc/inet/rpc/svc_udp.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/xdr.c b/libc/inet/rpc/xdr.c
index c26b481d7..cad61c5a8 100644
--- a/libc/inet/rpc/xdr.c
+++ b/libc/inet/rpc/xdr.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/xdr_array.c b/libc/inet/rpc/xdr_array.c
index de3ebbad3..359fda6ae 100644
--- a/libc/inet/rpc/xdr_array.c
+++ b/libc/inet/rpc/xdr_array.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/xdr_float.c b/libc/inet/rpc/xdr_float.c
index 52edea1ed..623682e0c 100644
--- a/libc/inet/rpc/xdr_float.c
+++ b/libc/inet/rpc/xdr_float.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/xdr_mem.c b/libc/inet/rpc/xdr_mem.c
index 5dbebae8d..aa5349656 100644
--- a/libc/inet/rpc/xdr_mem.c
+++ b/libc/inet/rpc/xdr_mem.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/xdr_rec.c b/libc/inet/rpc/xdr_rec.c
index b68424f7d..3e4a1b582 100644
--- a/libc/inet/rpc/xdr_rec.c
+++ b/libc/inet/rpc/xdr_rec.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/xdr_reference.c b/libc/inet/rpc/xdr_reference.c
index dfb9ac49e..94b8a4bb6 100644
--- a/libc/inet/rpc/xdr_reference.c
+++ b/libc/inet/rpc/xdr_reference.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/rpc/xdr_stdio.c b/libc/inet/rpc/xdr_stdio.c
index cd9d67cf3..5b420d61e 100644
--- a/libc/inet/rpc/xdr_stdio.c
+++ b/libc/inet/rpc/xdr_stdio.c
@@ -27,7 +27,7 @@
* 2550 Garcia Avenue
* Mountain View, California 94043
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
diff --git a/libc/inet/socketcalls.c b/libc/inet/socketcalls.c
index f73eeb0ec..f784a1c47 100644
--- a/libc/inet/socketcalls.c
+++ b/libc/inet/socketcalls.c
@@ -1,4 +1,4 @@
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
#include <errno.h>
#include <syscall.h>
diff --git a/libc/misc/syslog/syslog.c b/libc/misc/syslog/syslog.c
index b3c53ff7d..0cfac486e 100644
--- a/libc/misc/syslog/syslog.c
+++ b/libc/misc/syslog/syslog.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*/
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
/*
* SYSLOG -- print message on log file
diff --git a/libc/sysdeps/linux/common/cmsg_nxthdr.c b/libc/sysdeps/linux/common/cmsg_nxthdr.c
index 050470244..20c490dcc 100644
--- a/libc/sysdeps/linux/common/cmsg_nxthdr.c
+++ b/libc/sysdeps/linux/common/cmsg_nxthdr.c
@@ -17,7 +17,7 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define __FORCE_GLIBC__
+#define __FORCE_GLIBC
#include <features.h>
#include <sys/socket.h>