Added path.cc and tokenizer.h from win32 branch.
[ardour.git] / libs / pbd3 / transmitter.cc
index 09823a7991398901d1ec0a4a558e545c8710b760..876a9d86e5353cb70e7abcc0f40dc09f36ed31d3 100644 (file)
 #include <string>
 
 #include <pbd/transmitter.h>
+#include <pbd/error.h>
 
 using std::string;
 using std::ios;
 
 Transmitter::Transmitter (Channel c)
-
 {
        channel = c;
        switch (c) {
@@ -105,11 +105,11 @@ Transmitter::does_not_return ()
        }
 }
 
+
 extern "C" {
   void pbd_c_error (const char *str)
  
   {
-       extern Transmitter error;
-       error << str << endmsg;
+       PBD::error << str << endmsg;
   }
 }