re-added compile time error for not having --enable-writedup

pull/58/head
Levi Rak 2017-06-05 16:33:48 -06:00
parent a8894d18fe
commit bd83dd5ffb
1 changed files with 6 additions and 0 deletions

View File

@ -36,6 +36,12 @@
/* wolfSSL */ /* wolfSSL */
#include <wolfssl/ssl.h> #include <wolfssl/ssl.h>
#include <wolfssl/options.h>
/* check for writedup */
#ifndef HAVE_WRITE_DUP
#error "wolfSSL must be configured and installed with --enable-writedup"
#endif
/* threads */ /* threads */
#include <pthread.h> #include <pthread.h>