We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 49d9bfa + af29a59 commit baaab4cCopy full SHA for baaab4c
1 file changed
wolfssl/wolfcrypt/wc_port.h
@@ -268,6 +268,9 @@
268
#if !defined(CONFIG_PTHREAD_IPC) && !defined(CONFIG_POSIX_THREADS)
269
#error "Threading needs CONFIG_PTHREAD_IPC / CONFIG_POSIX_THREADS"
270
#endif
271
+ #ifdef max
272
+ #undef max
273
+ #endif
274
#if KERNEL_VERSION_NUMBER >= 0x30100
275
#include <zephyr/kernel.h>
276
#include <zephyr/posix/posix_types.h>
@@ -277,6 +280,7 @@
277
280
#include <posix/posix_types.h>
278
281
#include <posix/pthread.h>
279
282
283
+ #define max MAX
284
285
#elif defined(WOLFSSL_TELIT_M2MB)
286
0 commit comments