summaryrefslogtreecommitdiff
path: root/include/mysql/service_encryption.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mysql/service_encryption.h')
-rw-r--r--include/mysql/service_encryption.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mysql/service_encryption.h b/include/mysql/service_encryption.h
index eb1a6b0e629..be21af73481 100644
--- a/include/mysql/service_encryption.h
+++ b/include/mysql/service_encryption.h
@@ -31,7 +31,9 @@ extern "C" {
#ifndef MYSQL_ABI_CHECK
#ifdef _WIN32
#include <malloc.h>
+#ifndef __cplusplus
#define inline __inline
+#endif
#else
#include <alloca.h>
#endif