summaryrefslogtreecommitdiff
path: root/include/netdb.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-04 22:52:26 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-04 22:52:26 +0000
commit005d20f04dff3665c9533417bdad06d7d208bf9a (patch)
treebfe0aa8c46149f67794cd45a4fdb259c57b521cf /include/netdb.h
parentd8059900ddf188607828b12a174b83decade3d61 (diff)
Sync up w/ glibc
Diffstat (limited to 'include/netdb.h')
-rw-r--r--include/netdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 9ed963d87..fe3da8239 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -58,7 +58,7 @@ __BEGIN_DECLS
We always need the extern int here in case internal libc code undefines
the macro because it needs access to the underlying storage. */
extern int h_errno;
-#if defined(__UCLIBC_HAS_THREADS__)
+#ifdef __UCLIBC_HAS_THREADS__
# define h_errno (*__h_errno_location ())
#endif
@@ -392,7 +392,7 @@ extern int getprotobynumber_r (int __proto,
struct protoent **__restrict __result);
-#if defined(__UCLIBC_HAS_NETGROUP__)
+#ifdef __UCLIBC_HAS_NETGROUP__
/* Establish network group NETGROUP for enumeration.
This function is not part of POSIX and therefore no official