summaryrefslogtreecommitdiff
path: root/include/ma_dyncol.h
diff options
context:
space:
mode:
authorunknown <sanja@askmonty.org>2013-10-07 10:30:54 +0300
committerunknown <sanja@askmonty.org>2013-10-07 10:30:54 +0300
commita6e28ce5e6a1cb2c5e4eaf9e900e7d6339094a75 (patch)
treef1672ac7ffe4418a93f4525e50e8db511e1da225 /include/ma_dyncol.h
parent4b74214c7b46e44b419415b853fb59b887455156 (diff)
downloadmariadb-git-a6e28ce5e6a1cb2c5e4eaf9e900e7d6339094a75.tar.gz
MDEV-5084: Missing C++ support in ma_dyncol.h
Diffstat (limited to 'include/ma_dyncol.h')
-rw-r--r--include/ma_dyncol.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ma_dyncol.h b/include/ma_dyncol.h
index 55ee2d75122..cacd8f66c50 100644
--- a/include/ma_dyncol.h
+++ b/include/ma_dyncol.h
@@ -28,6 +28,9 @@
#ifndef ma_dyncol_h
#define ma_dyncol_h
+#ifdef __cplusplus
+extern "C" {
+#endif
#include <decimal.h>
#include <my_decimal_limits.h>
@@ -230,4 +233,7 @@ mariadb_dyncol_column_count(DYNAMIC_COLUMN *str, uint *column_count);
*/
void mariadb_dyncol_prepare_decimal(DYNAMIC_COLUMN_VALUE *value);
+#ifdef __cplusplus
+}
+#endif
#endif