summaryrefslogtreecommitdiff
path: root/dbug
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-01-05 18:56:31 +0100
committerSergei Golubchik <sergii@pisem.net>2012-01-05 18:56:31 +0100
commit506984181bd2bc0bdacb4d1154522c6be859b200 (patch)
tree1ce6b17f9fc187535355d7a03c939a9a961cbef8 /dbug
parentd26173439113812d125a5763c394faef323b805b (diff)
downloadmariadb-git-506984181bd2bc0bdacb4d1154522c6be859b200.tar.gz
fixes for opensolaris compilation failures
Diffstat (limited to 'dbug')
-rw-r--r--dbug/dbug.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/dbug/dbug.c b/dbug/dbug.c
index 645aeb100fd..8b3927d2427 100644
--- a/dbug/dbug.c
+++ b/dbug/dbug.c
@@ -2147,4 +2147,14 @@ const char* _db_get_func_(void)
return cs->func;
}
+#else
+
+/*
+ * Dummy function, workaround for build failure on a platform where linking
+ * with an empty archive fails.
+ */
+int i_am_a_dummy_function() {
+ return 0;
+}
+
#endif /* DBUG_OFF */