summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2013-01-11 12:44:21 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2013-01-11 12:44:21 +0100
commitd8acafcbf273120726dea27507a1a3ab7b0bd821 (patch)
treea6baa368f599ec2e8bd8464303732cc452815786 /strings
parent4f67a14700c0266c58b05be0dbd8fc10f88464a6 (diff)
downloadmariadb-git-d8acafcbf273120726dea27507a1a3ab7b0bd821.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.c6
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 */