[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1457138533-2417-11-git-send-email-ddecotig@gmail.com>
Date: Fri, 4 Mar 2016 16:42:11 -0800
From: David Decotigny <ddecotig@...il.com>
To: netdev@...r.kernel.org
Cc: Jeff Garzik <jgarzik@...ox.com>,
Ben Hutchings <ben@...adent.org.uk>,
David Miller <davem@...hat.com>,
Vidya Sagar Ravipati <vidya@...ulusnetworks.com>,
Joe Perches <joe@...ches.com>,
David Decotigny <decot@...glers.com>
Subject: [ethtool PATCH v3 10/12] internal.h: TRUE/FALSE macros
From: David Decotigny <decot@...glers.com>
Signed-off-by: David Decotigny <decot@...glers.com>
---
internal.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/internal.h b/internal.h
index 5df8124..7c44d0e 100644
--- a/internal.h
+++ b/internal.h
@@ -42,6 +42,14 @@ typedef int32_t s32;
#include "ethtool-copy.h"
#include "net_tstamp-copy.h"
+#ifndef TRUE
+# define TRUE 1
+#endif
+
+#ifndef FALSE
+# define FALSE 0
+#endif
+
#if __BYTE_ORDER == __BIG_ENDIAN
static inline u16 cpu_to_be16(u16 value)
{
--
2.7.0.rc3.207.g0ac5344
Powered by blists - more mailing lists