aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2017-04-23 20:16:01 +0200
committerGerd Hoffmann <kraxel@redhat.com>2017-04-23 20:16:01 +0200
commit7f65bbbc0d9cd14dab23c5159411cb0daa57d970 (patch)
treecaddfe746186254684942a86ac5221817a359ee5
parent23e311b6f0f881f4030b075b02558a836b08230e (diff)
downloaddrminfo-7f65bbbc0d9cd14dab23c5159411cb0daa57d970.tar.gz
fix warning
-rw-r--r--drmtools.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drmtools.c b/drmtools.c
index b3b3a9b..d676b63 100644
--- a/drmtools.c
+++ b/drmtools.c
@@ -28,8 +28,7 @@
#if __BYTE_ORDER == __LITTLE_ENDIAN
# define LE_BE(_le, _be) (_le)
-#endif
-#if __BYTE_ORDER == __BIG_ENDIAN
+#elif __BYTE_ORDER == __BIG_ENDIAN
# define LE_BE(_le, _be) (_be)
#endif