Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef XDAQ_COMPAT
#define XDAQ_COMPAT

#ifndef HAVE_XDAQ
#include <string>   // std::string
#include <cstdarg>  // va_list, va_start
#include <ostream>  // std::ostream

/* Replace log4cplus::Logger */
namespace log4cplus {
  typedef std::ostream* Logger;
}

namespace toolbox {
  std::string toString(const char* format, ...);
}

#endif  // HAVE_XDAQ

#endif  // XDAQ_COMPAT