diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2013-01-11 12:44:21 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2013-01-11 12:44:21 +0100 |
commit | f8c8f96e2afa30a917485295be10eb674547a1b2 (patch) | |
tree | a6baa368f599ec2e8bd8464303732cc452815786 /strings | |
parent | 794d493854d79c09c3bbe9b241bab2795cd99699 (diff) | |
download | mariadb-git-f8c8f96e2afa30a917485295be10eb674547a1b2.tar.gz |
MDEV-4020 : Make sure strmov symbol is exported by client library on Linux (even if the server and libraries itself use stpcpy instead of it)
It is a workaround that allows myodbc built by certain distributions' (CentOS,Fedora) to peacefully coexist with mariadb client libraries.
The problem is that MyODBC in these distros needs strmov() to be exported by mysql client shared library, or else myodbc fails to load.
Diffstat (limited to 'strings')
-rw-r--r-- | strings/strmov.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/strings/strmov.c b/strings/strmov.c index 1a945ad2a6f..7a3f2d02dcf 100644 --- a/strings/strmov.c +++ b/strings/strmov.c @@ -34,10 +34,6 @@ into dst, which seems useful. */ -#include "strings_def.h" - -#ifndef strmov - #if !defined(MC68000) && !defined(DS90) char *strmov(register char *dst, register const char *src) @@ -60,5 +56,3 @@ char *strmov(dst, src) } #endif - -#endif /* strmov */ |