summaryrefslogtreecommitdiff
path: root/ext/mysql/libmysql/mf_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysql/libmysql/mf_format.c')
-rw-r--r--ext/mysql/libmysql/mf_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysql/libmysql/mf_format.c b/ext/mysql/libmysql/mf_format.c
index 72971ed318..21ba545797 100644
--- a/ext/mysql/libmysql/mf_format.c
+++ b/ext/mysql/libmysql/mf_format.c
@@ -96,7 +96,7 @@ my_string fn_format(my_string to, const char *name, const char *dsk,
(void) strmov(pos,ext); /* Don't convert extension */
}
/* Purify gives a lot of UMR errors when using realpath */
-#if defined(HAVE_REALPATH) && !defined(HAVE_purify)
+#if defined(HAVE_REALPATH) && !defined(HAVE_purify) && !defined(HAVE_BROKEN_REALPATH)
if (flag & 16)
{
struct stat stat_buff;