Skip to content

Commit 82d94da

Browse files
committed
linuxkm: move "#undef HAVE_PTHREAD" from linuxkm/module_hooks.c to wolfssl/wolfcrypt/settings.h.
1 parent a0415ce commit 82d94da

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

linuxkm/module_hooks.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ static int updateFipsHash(void);
121121
#endif
122122

123123
#ifdef WOLFSSL_LINUXKM_BENCHMARKS
124-
#undef HAVE_PTHREAD
125124
#define STRING_USER
126125
#define NO_MAIN_FUNCTION
127126
#define current_time benchmark_current_time

wolfssl/wolfcrypt/settings.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2771,6 +2771,7 @@ extern void uITRON4_free(void *p) ;
27712771
#ifndef WOLFSSL_TEST_SUBROUTINE
27722772
#define WOLFSSL_TEST_SUBROUTINE static
27732773
#endif
2774+
#undef HAVE_PTHREAD
27742775
#undef HAVE_STRINGS_H
27752776
#undef HAVE_ERRNO_H
27762777
#undef HAVE_THREAD_LS

0 commit comments

Comments
 (0)