diff options
author | unknown <df@kahlann.erinye.com> | 2007-01-27 22:07:52 +0100 |
---|---|---|
committer | unknown <df@kahlann.erinye.com> | 2007-01-27 22:07:52 +0100 |
commit | d5ada3e15d7e5505140be9ba8a26e9c9d40b5fed (patch) | |
tree | b6f69bf491dae22ff9db35e679d916f66e2c432b /dbug/dbug.c | |
parent | 20e5e1d2fb748b43e672698dc5bbc816d00593f5 (diff) | |
download | mariadb-git-d5ada3e15d7e5505140be9ba8a26e9c9d40b5fed.tar.gz |
Build fix for sunfire100b. This can go when BUG#14420 is fixed.
dbug/dbug.c:
Build fix for sunfire100b. The ld does not want to link with an empty library, so we put something in it.
dbug/factorial.c:
Build fix for sunfire100b. When DBUG_OFF is defined, dbug is not there, and we can't use it even if we try, period.
Diffstat (limited to 'dbug/dbug.c')
-rw-r--r-- | dbug/dbug.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dbug/dbug.c b/dbug/dbug.c index ef63f660543..6a17db588ad 100644 --- a/dbug/dbug.c +++ b/dbug/dbug.c @@ -2375,4 +2375,18 @@ va_list ap; #endif /* NO_VARARGS */ +#else + +/* + * Dummy function, workaround for MySQL bug#14420 related + * build failure on a platform where linking with an empty + * archive fails. + * + * This block can be removed as soon as a fix for bug#14420 + * is implemented. + */ +int i_am_a_dummy_function() { + return 0; +} + #endif |