projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9195fcf
)
hackz.
author
Carl Hetherington
<cth@carlh.net>
Thu, 6 Aug 2020 08:02:53 +0000
(10:02 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 6 Aug 2020 08:02:53 +0000
(10:02 +0200)
src/lib/cross_windows.cc
patch
|
blob
|
history
diff --git
a/src/lib/cross_windows.cc
b/src/lib/cross_windows.cc
index 337750dcbfd4525520c82ddc13990f44cb95f55c..01ddceee509fe7fa9ca3d6ea1aaa9771f91ae751 100644
(file)
--- a/
src/lib/cross_windows.cc
+++ b/
src/lib/cross_windows.cc
@@
-77,6
+77,21
@@
dcpomatic_sleep_milliseconds (int ms)
Sleep (ms);
}
+
+void*
+dcpomatic_aligned_alloc (size_t size, size_t alignment)
+{
+ return _aligned_malloc (size, alignment);
+}
+
+
+void
+dcpomatic_aligned_free (void* ptr)
+{
+ _aligned_free (ptr);
+}
+
+
/** @return A string of CPU information (model name etc.) */
string
cpu_info ()