]> git.proxmox.com Git - qemu.git/blobdiff - slirp/ip.h
rng-egd: remove redundant free
[qemu.git] / slirp / ip.h
index 88c903fccd186e7746a267741c58e28e440407a8..e2ee5e304cc520b795fc8195b0c029a13a6f5aee 100644 (file)
 #define _IP_H_
 
 #ifdef HOST_WORDS_BIGENDIAN
-# ifndef NTOHL
-#  define NTOHL(d)
-# endif
-# ifndef NTOHS
-#  define NTOHS(d)
-# endif
-# ifndef HTONL
-#  define HTONL(d)
-# endif
-# ifndef HTONS
-#  define HTONS(d)
-# endif
+# undef NTOHL
+# undef NTOHS
+# undef HTONL
+# undef HTONS
+# define NTOHL(d)
+# define NTOHS(d)
+# define HTONL(d)
+# define HTONS(d)
 #else
 # ifndef NTOHL
 #  define NTOHL(d) ((d) = ntohl((d)))