aboutsummaryrefslogtreecommitdiff
path: root/dep/mysqllite/include/my_alloc.h
diff options
context:
space:
mode:
authorXanadu <xanadu.xoroi@gmail.com>2011-03-05 00:50:00 +0100
committerXanadu <xanadu.xoroi@gmail.com>2011-03-05 02:41:59 +0100
commitc47c94f958dd11be44bad16cd5d97d9f2fea6dbf (patch)
treef4849f06a2b5bbda7036d07efde8d393ac54e620 /dep/mysqllite/include/my_alloc.h
parented148818942fab299f344cb9c421a4df0b09fb98 (diff)
Dep/MySQL: Updated MySQL sources to version 5.5.9 (current GA)
Diffstat (limited to 'dep/mysqllite/include/my_alloc.h')
-rw-r--r--dep/mysqllite/include/my_alloc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/dep/mysqllite/include/my_alloc.h b/dep/mysqllite/include/my_alloc.h
index 93b7438a1df..4b1ffd3d444 100644
--- a/dep/mysqllite/include/my_alloc.h
+++ b/dep/mysqllite/include/my_alloc.h
@@ -23,6 +23,10 @@
#define ALLOC_MAX_BLOCK_TO_DROP 4096
#define ALLOC_MAX_BLOCK_USAGE_BEFORE_DROP 10
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct st_used_mem
{ /* struct for once_alloc (block) */
struct st_used_mem *next; /* Next block in use */
@@ -48,4 +52,9 @@ typedef struct st_mem_root
void (*error_handler)(void);
} MEM_ROOT;
+
+#ifdef __cplusplus
+}
+#endif
+
#endif