Commit d8acafcb authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-4020 : Make sure strmov symbol is exported by client library on Linux...

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.
parent 4f67a147
...@@ -34,10 +34,6 @@ ...@@ -34,10 +34,6 @@
into dst, which seems useful. into dst, which seems useful.
*/ */
#include "strings_def.h"
#ifndef strmov
#if !defined(MC68000) && !defined(DS90) #if !defined(MC68000) && !defined(DS90)
char *strmov(register char *dst, register const char *src) char *strmov(register char *dst, register const char *src)
...@@ -60,5 +56,3 @@ char *strmov(dst, src) ...@@ -60,5 +56,3 @@ char *strmov(dst, src)
} }
#endif #endif
#endif /* strmov */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment