OpenImageIO/oiio-s390.patch
2013-05-20 12:27:39 +02:00

13 lines
515 B
Diff

diff -up oiio-Release-1.1.10/src/include/thread.h.s390 oiio-Release-1.1.10/src/include/thread.h
--- oiio-Release-1.1.10/src/include/thread.h.s390 2013-05-20 11:23:40.000000000 +0200
+++ oiio-Release-1.1.10/src/include/thread.h 2013-05-20 11:24:06.000000000 +0200
@@ -326,7 +326,7 @@ pause (int delay)
{
#if defined(__GNUC__)
for (int i = 0; i < delay; ++i) {
-#if defined __arm__
+#if defined __arm__ || defined __s390__
__asm__ __volatile__("NOP;");
#else
__asm__ __volatile__("pause;");