Commit 56aa03b0 authored by Andrey Pavlenko's avatar Andrey Pavlenko

Merge pull request #6538 from asmorkalov:libcc_fix

parents 8865528d f29fd63f
...@@ -46,9 +46,9 @@ ...@@ -46,9 +46,9 @@
#ifndef SKIP_INCLUDES #ifndef SKIP_INCLUDES
#include <string.h> #include <string.h>
#include <limits.h> #include <limits.h>
#include <stddef.h>
#endif // SKIP_INCLUDES #endif // SKIP_INCLUDES
#ifdef __cplusplus #ifdef __cplusplus
/////// exchange-add operation for atomic operations on reference counters /////// /////// exchange-add operation for atomic operations on reference counters ///////
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
#if !(defined WIN32 || defined _WIN32) && (defined __i486__ || defined __i586__ || \ #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 __GNUC__ && defined _STLPORT_MAJOR) || \ defined _STLPORT_MAJOR || defined _LIBCPP_VERSION || \
defined __EMSCRIPTEN__ defined __EMSCRIPTEN__
#define CV_XADD __sync_fetch_and_add #define CV_XADD __sync_fetch_and_add
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment