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.
Hamlib-3.0
Nate Bargmann 2013-07-30 11:24:28 -05:00
rodzic 1fd85febee
commit 10fc6efc67
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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
/**