Commit 46dd9e86 authored by Davi Arnaut's avatar Davi Arnaut

Merge of mysql-5.1-bugteam into mysql-5.5-bugteam.

parents b0185d2a aaa370f5
...@@ -76,8 +76,8 @@ extern "C" { ...@@ -76,8 +76,8 @@ extern "C" {
extern void *(*my_str_malloc)(size_t); extern void *(*my_str_malloc)(size_t);
extern void (*my_str_free)(void *); extern void (*my_str_free)(void *);
#if MY_GNUC_PREREQ(3, 4) #if defined(HAVE_STPCPY) && MY_GNUC_PREREQ(3, 4)
#define strmov(dest, src) __builtin_stpcpy(dest, src) #define strmov(A,B) __builtin_stpcpy((A),(B))
#elif defined(HAVE_STPCPY) #elif defined(HAVE_STPCPY)
#define strmov(A,B) stpcpy((A),(B)) #define strmov(A,B) stpcpy((A),(B))
#ifndef stpcpy #ifndef stpcpy
......
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