projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Windows build.
[dcpomatic.git]
/
src
/
lib
/
cross.cc
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
}