summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-05-22 00:17:27 +0100
committerCarl Hetherington <cth@carlh.net>2014-05-22 00:17:27 +0100
commit5ac8a0de9dee4772d55d9c821027738c6bbb4853 (patch)
treec692147fcbeea14ef961b987da6c4efaa5d628ff /src
parent2935d9d158cf35496a35107f9c4ab7d2929cf6c3 (diff)
Windows build fix.
Diffstat (limited to 'src')
-rw-r--r--src/lib/cross.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/cross.cc b/src/lib/cross.cc
index 730cfe1d0..8ea477bf6 100644
--- a/src/lib/cross.cc
+++ b/src/lib/cross.cc
@@ -48,6 +48,7 @@
#define LOG_GENERAL(...) log->log (String::compose (__VA_ARGS__), Log::TYPE_GENERAL);
#define LOG_ERROR(...) log->log (String::compose (__VA_ARGS__), Log::TYPE_ERROR);
+#define LOG_ERROR_NC(...) log->log (__VA_ARGS__, Log::TYPE_ERROR);
using std::pair;
using std::list;
@@ -162,7 +163,7 @@ run_ffprobe (boost::filesystem::path content, boost::filesystem::path out, share
HANDLE child_stderr_read;
HANDLE child_stderr_write;
if (!CreatePipe (&child_stderr_read, &child_stderr_write, &security, 0)) {
- log->log ("ffprobe call failed (could not CreatePipe)");
+ LOG_ERROR_NC ("ffprobe call failed (could not CreatePipe)");
return;
}