アプリ版:「スタンプのみでお礼する」機能のリリースについて

inline Mat::Mat(const Mat& m)
: flags(m.flags), dims(m.dims), rows(m.rows), cols(m.cols), data(m.data),
refcount(m.refcount), datastart(m.datastart), dataend(m.dataend),
datalimit(m.datalimit), allocator(m.allocator), size(&rows)
{
if( refcount )
CV_XADD(refcount, 1);
if( m.dims <= 2 )
{
step[0] = m.step[0]; step[1] = m.step[1];
}
else
{
dims = 0;
copySize(m);
}
}

の CV_XADDの下線部が赤くなってエラーになってしまいます。
調べたところ識別子InterlockedExchangeAddが定義されていないとでました。

InterlockedExchangeAdd が定義されているヘッダフィルを教えていただけないでしょうか?

環境はwindows10 64bit Visual studio 2015

A 回答 (1件)

    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!