Fix MSVC build issues
This commit is contained in:
@@ -1,13 +1,18 @@
|
||||
#ifndef __OPENCV_TS_PERF_HPP__
|
||||
#define __OPENCV_TS_PERF_HPP__
|
||||
|
||||
#ifdef HAVE_CVCONFIG_H
|
||||
# include "cvconfig.h"
|
||||
#endif
|
||||
#ifndef GTEST_CREATE_SHARED_LIBRARY
|
||||
# ifdef BUILD_SHARED_LIBS
|
||||
# define GTEST_LINKED_AS_SHARED_LIBRARY 1
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#include "opencv2/core.hpp"
|
||||
#include "ts_gtest.h"
|
||||
|
||||
#ifdef HAVE_TBB
|
||||
#include "tbb/task_scheduler_init.h"
|
||||
#endif
|
||||
|
||||
#if !(defined(LOGD) || defined(LOGI) || defined(LOGW) || defined(LOGE))
|
||||
# if defined(ANDROID) && defined(USE_ANDROID_LOGGING)
|
||||
# include <android/log.h>
|
||||
|
Reference in New Issue
Block a user