Update all config.h usage.
[m6w6/libmemcached] / libtest / is_local.cc
index b03c2325307bdd4b3a0a671bffc7bb8617930eff..b223dd99df93ded5a8337bbc361559ae6779a059 100644 (file)
@@ -34,7 +34,7 @@
  *
  */
 
-#include <config.h>
+#include "mem_config.h"
 #include <libtest/common.h>
 
 
@@ -45,5 +45,16 @@ bool test_is_local()
   return (getenv("LIBTEST_LOCAL"));
 }
 
+static bool _is_massive= false;
+void is_massive(bool arg)
+{
+  _is_massive= arg;
+}
+
+bool is_massive()
+{
+  return _is_massive;
+}
+
 } // namespace libtest