compile native on OSX

This commit is contained in:
proddy
2024-08-02 12:20:09 +02:00
parent de582f2f61
commit 3159561cfb
6 changed files with 6 additions and 9 deletions

View File

@@ -47,7 +47,7 @@ the LICENSE file.
#include <mutex> // NOLINT [build/c++11]
#define EMC_SEMAPHORE_TAKE() mtx.lock();
#define EMC_SEMAPHORE_GIVE() mtx.unlock();
#elif defined(_WIN32)
#elif defined(_WIN32) || defined(__APPLE__)
#include <Arduino.h>
#define EMC_SEMAPHORE_TAKE()
#define EMC_SEMAPHORE_GIVE()