projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3143029
)
Fix Windows build.
author
Carl Hetherington
<cth@carlh.net>
Mon, 15 Aug 2016 14:18:33 +0000
(15:18 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 15 Aug 2016 14:18:33 +0000
(15:18 +0100)
src/lib/cross.cc
patch
|
blob
|
history
diff --git
a/src/lib/cross.cc
b/src/lib/cross.cc
index b33fa80ac81d3da7e235ded347a0088aabb744f8..a213436a3c3f973aafccb83e7a800aa07b417fc1 100644
(file)
--- a/
src/lib/cross.cc
+++ b/
src/lib/cross.cc
@@
-400,5
+400,9
@@
start_batch_converter (boost::filesystem::path dcpomatic)
int
thread_id ()
{
+#ifdef DCPOMATIC_WINDOWS
+ return (int) GetCurrentThreadId ();
+#else
return (int) pthread_self ();
+#endif
}