Add unit tests for C bindings

This commit is contained in:
Urs Fleisch
2023-10-20 19:18:35 +02:00
parent a3ad2d0aaa
commit 182edcd3f9
7 changed files with 171 additions and 5 deletions

View File

@ -43,7 +43,10 @@ extern "C" {
#define TAGLIB_C_EXPORT
#endif
#ifndef BOOL
#ifdef _MSC_VER
/* minwindef.h contains typedef int BOOL */
#include <windows.h>
#elif !defined BOOL
#define BOOL int
#endif