diff --git a/modules/objdetect/src/lsvmtbbversion.cpp b/modules/objdetect/src/lsvmtbbversion.cpp index a9e3cf5aaf..d22a17f9d1 100644 --- a/modules/objdetect/src/lsvmtbbversion.cpp +++ b/modules/objdetect/src/lsvmtbbversion.cpp @@ -1,7 +1,6 @@ +#ifdef HAVE_TBB #include "_lsvm_tbbversion.h" - -#ifdef HAVE_TBB /* // Task class */ @@ -118,4 +117,5 @@ int tbbTasksThresholdFunctionalScore(const CvLSVMFilterObject **filters, const i tbb::task::spawn_root_and_wait(tasks); return LATENT_SVM_OK; }; -#endif \ No newline at end of file +#endif +