Skip to content

Commit a5d536b

Browse files
committed
Compat: pthread.h will use FreeRTOS shim when required.
1 parent a58a525 commit a5d536b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/compat/pthread.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
#ifndef LIBCRYPTOCOMPAT_PTHREAD_H
77
#define LIBCRYPTOCOMPAT_PTHREAD_H
88

9-
#ifdef _WIN32
9+
#if defined(FREERTOS)
10+
#include <freertosthreadcompat.h>
11+
#elif defined(_WIN32)
1012

1113
#include <malloc.h>
1214
#include <stdlib.h>

0 commit comments

Comments
 (0)