aboutsummaryrefslogtreecommitdiff
path: root/dep/mysqllite/include/sslopt-vars.h
diff options
context:
space:
mode:
Diffstat (limited to 'dep/mysqllite/include/sslopt-vars.h')
-rw-r--r--dep/mysqllite/include/sslopt-vars.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/dep/mysqllite/include/sslopt-vars.h b/dep/mysqllite/include/sslopt-vars.h
index 3369f870db2..d0eec3b6d74 100644
--- a/dep/mysqllite/include/sslopt-vars.h
+++ b/dep/mysqllite/include/sslopt-vars.h
@@ -1,3 +1,6 @@
+#ifndef SSLOPT_VARS_INCLUDED
+#define SSLOPT_VARS_INCLUDED
+
/* Copyright (C) 2000 MySQL AB
This program is free software; you can redistribute it and/or modify
@@ -13,7 +16,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-#ifdef HAVE_OPENSSL
+#if defined(HAVE_OPENSSL) && !defined(EMBEDDED_LIBRARY)
#ifdef SSL_VARS_NOT_STATIC
#define SSL_STATIC
#else
@@ -29,3 +32,4 @@ SSL_STATIC char *opt_ssl_key = 0;
SSL_STATIC my_bool opt_ssl_verify_server_cert= 0;
#endif
#endif
+#endif /* SSLOPT_VARS_INCLUDED */