OpenImageIO/oiio-arm.patch

17 lines
495 B
Diff
Raw Normal View History

2013-08-28 20:03:38 +00:00
diff -Naur oiio-Release-1.2.1.orig/src/include/thread.h oiio-Release-1.2.1/src/include/thread.h
--- oiio-Release-1.2.1.orig/src/include/thread.h 2013-08-06 00:10:31.000000000 -0500
+++ oiio-Release-1.2.1/src/include/thread.h 2013-08-28 14:29:19.730464642 -0500
@@ -447,7 +447,12 @@
// Disallow copy construction by making private and unimplemented.
atomic (atomic const &);
+#if defined __arm__
+} __attribute__((aligned(8)));
2013-05-17 14:26:19 +00:00
+#else
};
2013-05-17 14:26:19 +00:00
+#endif
+
2013-05-17 14:26:19 +00:00
#endif /* ! USE_TBB_ATOMIC */