FreeBSD Bugzilla – Attachment 128506 Details for
Bug 172362
[maintainer update] update for graphics/openimageio
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-include__thread.h
patch-include__thread.h (text/plain; charset=UTF-8), 792 bytes, created by
Shane
on 2012-10-29 03:59:20 UTC
(
hide
)
Description:
patch-include__thread.h
Filename:
MIME Type:
Creator:
Shane
Created:
2012-10-29 03:59:20 UTC
Size:
792 bytes
patch
obsolete
>--- ./include/thread.h.orig 2012-09-05 04:14:50.000000000 +0930 >+++ ./include/thread.h 2012-10-29 01:41:04.248353721 +1030 >@@ -75,9 +75,14 @@ > # include <pthread.h> > #endif > >+#if defined(__GNUC__) && (defined(_GLIBCXX_ATOMIC_BUILTINS) || (__GNUC__ * 100 + __GNUC_MINOR__ >= 401)) >+#define USE_GCC_ATOMICS 1 >+#undef USE_TBB >+#else > #ifndef USE_TBB > # define USE_TBB 1 > #endif >+#endif > > // Include files we need for atomic counters. > // Some day, we hope this is all replaced by use of std::atomic<>. >@@ -102,12 +107,6 @@ > # include <libkern/OSAtomic.h> > #endif > >-#if defined(__GNUC__) && (defined(_GLIBCXX_ATOMIC_BUILTINS) || (__GNUC__ * 100 + __GNUC_MINOR__ >= 401)) >-#if !defined(__FreeBSD__) || defined(__x86_64__) >-#define USE_GCC_ATOMICS >-#endif >-#endif >- > OIIO_NAMESPACE_ENTER > { >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 172362
:
128504
|
128505
| 128506 |
128507
|
128508