diff --git a/cyassl/ctaocrypt/settings.h b/cyassl/ctaocrypt/settings.h index 46012d4d13..876a5e0c19 100644 --- a/cyassl/ctaocrypt/settings.h +++ b/cyassl/ctaocrypt/settings.h @@ -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 */