From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Decotigny Subject: [ethtool PATCH v2 10/12] internal.h: TRUE/FALSE macros Date: Thu, 3 Mar 2016 20:23:23 -0800 Message-ID: <1457065405-19049-11-git-send-email-ddecotig@gmail.com> References: <1457065405-19049-1-git-send-email-ddecotig@gmail.com> Cc: Jeff Garzik , Ben Hutchings , David Miller , Vidya Sagar Ravipati , David Decotigny To: netdev@vger.kernel.org Return-path: Received: from mail-pf0-f194.google.com ([209.85.192.194]:35963 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757734AbcCDEXt (ORCPT ); Thu, 3 Mar 2016 23:23:49 -0500 Received: by mail-pf0-f194.google.com with SMTP id q129so2495552pfb.3 for ; Thu, 03 Mar 2016 20:23:48 -0800 (PST) In-Reply-To: <1457065405-19049-1-git-send-email-ddecotig@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: David Decotigny Signed-off-by: David Decotigny --- internal.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/internal.h b/internal.h index 5df8124..5fd87f1 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 (!0) +#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