--- a/include/oneapi/tbb/profiling.h
+++ b/include/oneapi/tbb/profiling.h
@@ -132,7 +132,7 @@
         r1::call_itt_notify((int)t, ptr);
     }
 
-#if (_WIN32||_WIN64) && !__MINGW32__
+#if (_WIN32||_WIN64)
     inline void itt_set_sync_name(void* obj, const wchar_t* name) {
         r1::itt_set_sync_name(obj, name);
     }
