added #include "cvconfig.h" to make TBB and other 3rd party libs work correctly

This commit is contained in:
Vadim Pisarevsky
2010-06-29 15:12:07 +00:00
parent 10b5a51731
commit 7ec4b59fac
9 changed files with 54 additions and 14 deletions

View File

@@ -40,14 +40,18 @@
//
//M*/
#ifndef _CXCORE_INTERNAL_H_
#define _CXCORE_INTERNAL_H_
#ifndef __OPENCV_PRECOMP_H__
#define __OPENCV_PRECOMP_H__
#if defined _MSC_VER && _MSC_VER >= 1200
// disable warnings related to inline functions
#pragma warning( disable: 4251 4711 4710 4514 )
#endif
#ifdef HAVE_CONFIG_H
#include <cvconfig.h>
#endif
#include "opencv2/core/core.hpp"
#include "opencv2/core/core_c.h"
#include "opencv2/core/internal.hpp"