Fix build on sparc64, requested by and okay landry@. No bump needed
because the fix affects only one arch where it wasn't get built anyway.
This commit is contained in:
parent
b85f4884af
commit
23ef613594
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-modules_core_include_opencv2_core_operations_hpp,v 1.1 2014/01/23 15:21:31 zhuk Exp $
|
||||
All to build on sparc64 at least.
|
||||
--- modules/core/include/opencv2/core/operations.hpp.orig Sun Jan 19 14:25:06 2014
|
||||
+++ modules/core/include/opencv2/core/operations.hpp Sun Jan 19 14:25:28 2014
|
||||
@@ -65,7 +65,7 @@
|
||||
#elif __GNUC__*10 + __GNUC_MINOR__ >= 42
|
||||
|
||||
#if !(defined WIN32 || defined _WIN32) && (defined __i486__ || defined __i586__ || \
|
||||
- defined __i686__ || defined __MMX__ || defined __SSE__ || defined __ppc__) || \
|
||||
+ defined __i686__ || defined __MMX__ || defined __SSE__ || defined __ppc__ || defined _GLIBCXX_ATOMIC_BUILTINS ) || \
|
||||
(defined __GNUC__ && defined _STLPORT_MAJOR)
|
||||
#define CV_XADD __sync_fetch_and_add
|
||||
#else
|
Loading…
x
Reference in New Issue
Block a user