From 37323218250eaf076cadb28aca7bb41afe9f9557 Mon Sep 17 00:00:00 2001 From: Eric House Date: Wed, 29 Jul 2015 19:36:17 -0700 Subject: [PATCH] fix so -Wundef can be passed -- except that android's headers don't compile then :-) --- xwords4/common/comtypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/common/comtypes.h b/xwords4/common/comtypes.h index cca8f4476..1e4c18c1c 100644 --- a/xwords4/common/comtypes.h +++ b/xwords4/common/comtypes.h @@ -333,7 +333,7 @@ typedef struct _PlayerDicts { # define XP_UNUSED_BT(x) UNUSED__ ## x __attribute__((unused)) #endif -#if BT_USE_RFCOMM +#ifdef BT_USE_RFCOMM # define XP_UNUSED_RFCOMM(x) x #else # define XP_UNUSED_RFCOMM(x) UNUSED__ ## x __attribute__((unused))