17 #ifndef __TBB_tbb_windef_H
18 #error Do not #include this internal file directly; use public TBB headers instead.
23 #if defined(_WIN32_WINNT) && _WIN32_WINNT<0x0501
24 #error TBB is unable to run on old Windows versions; _WIN32_WINNT must be 0x0501 or greater.
28 #error TBB requires linkage with multithreaded C/C++ runtime library. \
29 Choose multithreaded DLL runtime in project settings, or use /MD[d] compiler switch.
34 using ::size_t; using ::ptrdiff_t;
37 #define __TBB_STRING_AUX(x) #x
38 #define __TBB_STRING(x) __TBB_STRING_AUX(x)
44 # pragma message(__FILE__ "(" __TBB_STRING(__LINE__) ") : Warning: Recommend using /MDd if compiling with TBB_USE_DEBUG!=0")
48 # pragma message(__FILE__ "(" __TBB_STRING(__LINE__) ") : Warning: Recommend using /MD if compiling with TBB_USE_DEBUG==0")
53 #if (__TBB_BUILD || __TBBMALLOC_BUILD || __TBBBIND_BUILD) && !defined(__TBB_NO_IMPLICIT_LINKAGE)
54 #define __TBB_NO_IMPLICIT_LINKAGE 1
58 #if !__TBB_NO_IMPLICIT_LINKAGE
60 #pragma comment(lib, __TBB_STRING(__TBB_LIB_NAME))
63 #pragma comment(lib, "tbb_debug.lib")
65 #pragma comment(lib, "tbb.lib")