summaryrefslogtreecommitdiff
path: root/include/netdb.h
diff options
context:
space:
mode:
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