mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
Merge of mysql-5.1-bugteam into mysql-5.5-bugteam.
This commit is contained in:
commit
cd9bee8da2
1 changed files with 2 additions and 2 deletions
|
@ -76,8 +76,8 @@ extern "C" {
|
|||
extern void *(*my_str_malloc)(size_t);
|
||||
extern void (*my_str_free)(void *);
|
||||
|
||||
#if MY_GNUC_PREREQ(3, 4)
|
||||
#define strmov(dest, src) __builtin_stpcpy(dest, src)
|
||||
#if defined(HAVE_STPCPY) && MY_GNUC_PREREQ(3, 4)
|
||||
#define strmov(A,B) __builtin_stpcpy((A),(B))
|
||||
#elif defined(HAVE_STPCPY)
|
||||
#define strmov(A,B) stpcpy((A),(B))
|
||||
#ifndef stpcpy
|
||||
|
|
Loading…
Reference in a new issue