Merge branch 2.4
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
#endif
|
||||
#elif __GNUC__*10 + __GNUC_MINOR__ >= 42
|
||||
|
||||
#if !defined WIN32 && (defined __i486__ || defined __i586__ || \
|
||||
#if !(defined WIN32 || defined _WIN32) && (defined __i486__ || defined __i586__ || \
|
||||
defined __i686__ || defined __MMX__ || defined __SSE__ || defined __ppc__)
|
||||
#define CV_XADD __sync_fetch_and_add
|
||||
#else
|
||||
|
@@ -5170,6 +5170,7 @@ void FileStorage::release()
|
||||
string FileStorage::releaseAndGetString()
|
||||
{
|
||||
string buf;
|
||||
buf.reserve(16); // HACK: Work around for compiler bug
|
||||
if( fs.obj && fs.obj->outbuf )
|
||||
icvClose(fs.obj, &buf);
|
||||
|
||||
|
Reference in New Issue
Block a user