Commit 4fdf25af authored by Sergei Golubchik's avatar Sergei Golubchik

after-merge: 10.0 part of MDEV-9249 (ERR_remove_state)

parent 05dc86c0
...@@ -26,6 +26,10 @@ ...@@ -26,6 +26,10 @@
#include <openssl/evp.h> #include <openssl/evp.h>
#include <openssl/err.h> #include <openssl/err.h>
#ifdef HAVE_ERR_remove_thread_state
#define ERR_remove_state(X) ERR_remove_thread_state(NULL)
#endif
// Wrap C struct, to ensure resources are released. // Wrap C struct, to ensure resources are released.
struct MyCipherCtx struct MyCipherCtx
{ {
......
...@@ -17,7 +17,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR} ...@@ -17,7 +17,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/sql ${CMAKE_SOURCE_DIR}/sql
${PCRE_INCLUDES} ${PCRE_INCLUDES}
${CMAKE_SOURCE_DIR}/extra/yassl/include) ${SSL_INCLUDE_DIRS})
ADD_DEFINITIONS(-DMYSQL_SERVER) ADD_DEFINITIONS(-DMYSQL_SERVER)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment