From 10fc6efc67a09080dfd26344588ce216ae8bd053 Mon Sep 17 00:00:00 2001 From: Nate Bargmann Date: Tue, 30 Jul 2013 11:24:28 -0500 Subject: [PATCH] orion.h: Quell compiler warning on MinGW Quell the following error on MinGW: CC orion.lo In file included from ../../hamlib-3.0~git/tentec/orion.c:86:0: ../../hamlib-3.0~git/tentec/orion.h:34:0: warning: "TRUE" redefined [enabled by default] c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/windef.h:55:0: note: this is the location of the previous definition ../../hamlib-3.0~git/tentec/orion.h:35:0: warning: "FALSE" redefined [enabled by default] c:\mingw\bin\../lib/gcc/mingw32/4.6.2/../../../../include/windef.h:52:0: note: this is the location of the previous definition which seemed to be caused by the values to TRUE and FALSE being enclosed in parentheses. --- tentec/orion.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tentec/orion.h b/tentec/orion.h index 78e6a6107..c94fa1af4 100644 --- a/tentec/orion.h +++ b/tentec/orion.h @@ -31,8 +31,8 @@ * This backend supports the Ten-Tec Orion (565) and Orion II (566) transceivers. */ -#define TRUE (1) -#define FALSE (0) +#define TRUE 1 +#define FALSE 0 #define TT565_BUFSIZE 16 /**