diff options
Diffstat (limited to 'sql/mf_iocache.cc')
-rw-r--r-- | sql/mf_iocache.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/mf_iocache.cc b/sql/mf_iocache.cc index 436b79b23c3..e7e72617c83 100644 --- a/sql/mf_iocache.cc +++ b/sql/mf_iocache.cc @@ -30,10 +30,9 @@ flush_io_cache(). */ -#ifndef EMBEDDED_LIBRARY - #define MAP_TO_USE_RAID #include "mysql_priv.h" +#ifdef HAVE_REPLICATION #ifdef HAVE_AIOWAIT #include <mysys_err.h> #include <errno.h> @@ -83,6 +82,6 @@ int _my_b_net_read(register IO_CACHE *info, byte *Buffer, } } /* extern "C" */ -#endif /* EMBEDDED_LIBRARY */ +#endif /* HAVE_REPLICATION */ |