Added the ability to build and run tests

This commit is contained in:
2025-09-20 19:36:12 +10:00
parent 57b8353e2c
commit 1bdb293d55
3 changed files with 43 additions and 16 deletions

View File

@@ -6,9 +6,9 @@
#include "external/cJSON.h"
#include "libopensubsonic/logger.h"
#if defined(__APPLE__) && defined(__MACH__)
#if defined(__APPLE__) && defined(__MACH__) && defined(XCODE)
#include "OSSP_Bridge.h"
#endif // defined(__APPLE__) && defined(__MACH__)
#endif // defined(__APPLE__) && defined(__MACH__) && defined(__XCODE__)
static int rc = 0;