From c9207d20824cfe9695c51a231d0680f0f58d08ad Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Wed, 7 Aug 2024 11:15:42 +0200 Subject: [PATCH] chipset/bcm: map strncasecmp for Visual Studio --- chipset/bcm/btstack_chipset_bcm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/chipset/bcm/btstack_chipset_bcm.c b/chipset/bcm/btstack_chipset_bcm.c index b479d490f..88c5a957c 100644 --- a/chipset/bcm/btstack_chipset_bcm.c +++ b/chipset/bcm/btstack_chipset_bcm.c @@ -62,6 +62,9 @@ #ifdef _MSC_VER // ignore deprecated warning for fopen #pragma warning(disable : 4996) + +// map strncasecmp +#define strncasecmp _strnicmp #endif // assert outgoing and incoming hci packet buffers can hold max hci command resp. event packet