Is there some definition from compiler or TBB include files to use in source code conditional compilation statements for TBB/non-TBB variants?
... TBB-based code
... non TBB-based code
This is not to add own definitions.
This works only after any of TBB include files got to preprocessor.
I probably formulated my question wrong, sorry, but I wanted to determine if user turned "Intel Performance Libraries\TBB" option in IDE to "Yes", or no.
For example, how it is in general compiler, #ifdef _WIN32 use Windows source code, if not - use Linux.
#if defined(TBB_IS_ON) // This is for example, not a real macro ))
... other TBB stuff...
...use my own multi-threading...