hackz.
authorCarl Hetherington <cth@carlh.net>
Thu, 6 Aug 2020 08:02:53 +0000 (10:02 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 6 Aug 2020 08:02:53 +0000 (10:02 +0200)
src/lib/cross_windows.cc

index 337750dcbfd4525520c82ddc13990f44cb95f55c..01ddceee509fe7fa9ca3d6ea1aaa9771f91ae751 100644 (file)
@@ -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 ()