Index: openmp/runtime/src/dllexports =================================================================== --- openmp/runtime/src/dllexports +++ openmp/runtime/src/dllexports @@ -186,9 +186,6 @@ __kmp_omp_debug_struct_info DATA %endif - # Symbols for MS mutual detection: - _You_must_link_with_exactly_one_OpenMP_library DATA - _You_must_link_with_Intel_OpenMP_library DATA __kmp_wait_64 __kmp_release_64 Index: openmp/runtime/src/kmp.h =================================================================== --- openmp/runtime/src/kmp.h +++ openmp/runtime/src/kmp.h @@ -4184,13 +4184,6 @@ void *data, size_t size, void ***cache); -// Symbols for MS mutual detection. -extern int _You_must_link_with_exactly_one_OpenMP_library; -extern int _You_must_link_with_Intel_OpenMP_library; -#if KMP_OS_WINDOWS && (KMP_VERSION_MAJOR > 4) -extern int _You_must_link_with_Microsoft_OpenMP_library; -#endif - // The routines below are not exported. // Consider making them 'static' in corresponding source files. void kmp_threadprivate_insert_private_data(int gtid, void *pc_addr, Index: openmp/runtime/src/kmp_global.cpp =================================================================== --- openmp/runtime/src/kmp_global.cpp +++ openmp/runtime/src/kmp_global.cpp @@ -547,13 +547,6 @@ void set_suspend_count_(int *value) { __kmp_suspend_count = *value; } #endif -// Symbols for MS mutual detection. -int _You_must_link_with_exactly_one_OpenMP_library = 1; -int _You_must_link_with_Intel_OpenMP_library = 1; -#if KMP_OS_WINDOWS && (KMP_VERSION_MAJOR > 4) -int _You_must_link_with_Microsoft_OpenMP_library = 1; -#endif - kmp_target_offload_kind_t __kmp_target_offload = tgt_default; // OMP Pause Resources Index: openmp/runtime/src/kmp_import.cpp =================================================================== --- openmp/runtime/src/kmp_import.cpp +++ /dev/null @@ -1,33 +0,0 @@ -/* - * kmp_import.cpp - */ - -//===----------------------------------------------------------------------===// -// -// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. -// See https://llvm.org/LICENSE.txt for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//===----------------------------------------------------------------------===// - -/* Object generated from this source file is linked to Windows* OS DLL import - library (libompmd.lib) only! It is not a part of regular static or dynamic - OpenMP RTL. Any code that just needs to go in the libompmd.lib (but not in - libompmt.lib and libompmd.dll) should be placed in this file. */ - -#ifdef __cplusplus -extern "C" { -#endif - -/*These symbols are required for mutual exclusion with Microsoft OpenMP RTL - (and compatibility with MS Compiler). */ - -int _You_must_link_with_exactly_one_OpenMP_library = 1; -int _You_must_link_with_Intel_OpenMP_library = 1; -int _You_must_link_with_Microsoft_OpenMP_library = 1; - -#ifdef __cplusplus -} -#endif - -// end of file //