summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@mysql.com>2008-11-19 14:01:21 +0400
committerAlexey Botchkov <holyfoot@mysql.com>2008-11-19 14:01:21 +0400
commit9ac2f960153ec597ed020912b69bfb2de7f5e889 (patch)
tree053870850afb380601800086bba33f9bb2a1dea7 /include
parent2512923c567d3cf60efcecc7e043dcb98a5a5ca0 (diff)
parent4d3f05b09b4fa5e4cf7c77c2222fd6513e772f36 (diff)
downloadmariadb-git-9ac2f960153ec597ed020912b69bfb2de7f5e889.tar.gz
merging
Diffstat (limited to 'include')
-rw-r--r--include/my_dbug.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/my_dbug.h b/include/my_dbug.h
index a77e439b5db..fa7941faf1c 100644
--- a/include/my_dbug.h
+++ b/include/my_dbug.h
@@ -108,6 +108,22 @@ extern FILE *_db_fp_(void);
#define DBUG_EXPLAIN(buf,len)
#define DBUG_EXPLAIN_INITIAL(buf,len)
#define IF_DBUG(A)
+
+#ifdef __WIN__
+/*
+ On windows all the dll export has to be declared in the *.def file
+ so as we export these symbols in DEBUG mode we have to export
+ these in the RELEASE mode also. So below are the dummy symbols
+ for the RELEASE export
+*/
+extern char _db_doprnt_;
+extern char _db_enter_;
+extern char _db_pargs_;
+extern char _db_process_;
+extern char _db_push_;
+extern char _db_return_;
+#endif /*__WIN__*/
+
#endif
#ifdef __cplusplus
}