diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-06-13 12:51:48 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-06-13 12:51:48 +0100 |
| commit | 7bca4c05ca38b218c252b0fe98a866806d9a2ded (patch) | |
| tree | 959c021c95049e3a064f3a7b377d26d78c9cc4a3 /src/content.cc | |
| parent | 4c8229e08772f498f1ece36fff51c0be8cf3636c (diff) | |
Work around symbol clash with ERROR on Win32/mingw.
Diffstat (limited to 'src/content.cc')
| -rw-r--r-- | src/content.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/content.cc b/src/content.cc index 50db005a..007d5cbc 100644 --- a/src/content.cc +++ b/src/content.cc @@ -27,9 +27,6 @@ #include <boost/function.hpp> #include <iostream> -/* We need this here for the #undef ERROR for Windows */ -#include "types.h" - using namespace std; using namespace boost; using namespace dcp; @@ -57,12 +54,12 @@ Content::equals (shared_ptr<const Content> other, EqualityOptions opt, boost::fu } if (_edit_rate != other->_edit_rate) { - note (ERROR, "content edit rates differ"); + note (DCP_ERROR, "content edit rates differ"); return false; } if (_intrinsic_duration != other->_intrinsic_duration) { - note (ERROR, "asset intrinsic durations differ"); + note (DCP_ERROR, "asset intrinsic durations differ"); return false; } |
