Remove unused m4
[awesomized/libmemcached] / libtest / cmdline.cc
index 8cb76252259e6edef69bc302a8944db29e791d3b..5c3d09f2960487a8169d9b57ab807aa681193120 100644 (file)
@@ -96,6 +96,7 @@ namespace {
     return arg_buffer.str();
   }
 
+#if 0
   std::string print_argv(char** argv)
   {
     std::stringstream arg_buffer;
@@ -107,6 +108,7 @@ namespace {
 
     return arg_buffer.str();
   }
+#endif
 
   static Application::error_t int_to_error_t(int arg)
   {
@@ -621,7 +623,7 @@ void Application::Pipe::reset()
   close(READ);
   close(WRITE);
 
-#if HAVE_PIPE2
+#if defined(HAVE_PIPE2) && HAVE_PIPE2
   if (pipe2(_pipe_fd, O_NONBLOCK) == -1)
 #else
   if (pipe(_pipe_fd) == -1)