aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-20 15:01:47 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-20 15:01:47 +0100
commitc5e4348681f23428b0036c45b64cca428e69d750 (patch)
tree064ec1d40a09a08be1672a2b9425c8f90daa9e2a /include
parentoptimise implementations of {hton,ntoh}{s,l,ll} (diff)
downloadslibc-c5e4348681f23428b0036c45b64cca428e69d750.tar.gz
slibc-c5e4348681f23428b0036c45b64cca428e69d750.tar.bz2
slibc-c5e4348681f23428b0036c45b64cca428e69d750.tar.xz
...
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to '')
-rw-r--r--include/arpa/inet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/arpa/inet.h b/include/arpa/inet.h
index a7bd2c1..575666e 100644
--- a/include/arpa/inet.h
+++ b/include/arpa/inet.h
@@ -72,7 +72,7 @@ uint32_t _ntohl(uint32_t)
# define ntohl(value) (_ntohl(value))
#endif
-#ifdef (__SLIBC_SOURCE)
+#if defined(__SLIBC_SOURCE)
/**
* Convert a 64-bit quantity from network byte order
* (little endian) to host byte order.
@@ -133,7 +133,7 @@ uint32_t _htonl(uint32_t)
# define htonl(value) (_htonl(value))
#endif
-#ifdef (__SLIBC_SOURCE)
+#if defined(__SLIBC_SOURCE)
/**
* Convert a 64-bit quantity from host byte order
* (little endian) to network byte order.