Skip to content

Commit

Permalink
Compat: pthread.h will use FreeRTOS shim when required.
Browse files Browse the repository at this point in the history
  • Loading branch information
projectgoav committed Dec 15, 2023
1 parent a58a525 commit a5d536b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/compat/pthread.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
#ifndef LIBCRYPTOCOMPAT_PTHREAD_H
#define LIBCRYPTOCOMPAT_PTHREAD_H

#ifdef _WIN32
#if defined(FREERTOS)
#include <freertosthreadcompat.h>
#elif defined(_WIN32)

#include <malloc.h>
#include <stdlib.h>
Expand Down

0 comments on commit a5d536b

Please sign in to comment.