Skip to content

Commit

Permalink
cyassl settings _POSIX_THREADS HAVE_PTHREAD
Browse files Browse the repository at this point in the history
  • Loading branch information
gojimmypi committed Jun 23, 2023
1 parent 1f2f5bc commit 59c3c42
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cyassl/ctaocrypt/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@
extern "C" {
#endif

/* pick up compiler def; may need to turn on HAVE_PTHREAD for some configs */
#ifdef _POSIX_THREADS
#undef HAVE_PTHREAD
#define HAVE_PTHREAD
#endif

/* Uncomment next line if using IPHONE */
/* #define IPHONE */

Expand Down

0 comments on commit 59c3c42

Please sign in to comment.