diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-01-05 18:56:31 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-01-05 18:56:31 +0100 |
commit | 506984181bd2bc0bdacb4d1154522c6be859b200 (patch) | |
tree | 1ce6b17f9fc187535355d7a03c939a9a961cbef8 /dbug | |
parent | d26173439113812d125a5763c394faef323b805b (diff) | |
download | mariadb-git-506984181bd2bc0bdacb4d1154522c6be859b200.tar.gz |
fixes for opensolaris compilation failures
Diffstat (limited to 'dbug')
-rw-r--r-- | dbug/dbug.c | 10 |
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 */ |