Path: blob/main/contrib/llvm-project/openmp/runtime/src/kmp_ftn_cdecl.cpp
35258 views
/*1* kmp_ftn_cdecl.cpp -- Fortran __cdecl linkage support for OpenMP.2*/34//===----------------------------------------------------------------------===//5//6// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.7// See https://llvm.org/LICENSE.txt for license information.8// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception9//10//===----------------------------------------------------------------------===//1112#include "kmp.h"13#include "kmp_affinity.h"1415#if KMP_OS_WINDOWS16#if defined KMP_WIN_CDECL || !KMP_DYNAMIC_LIB17#define KMP_FTN_ENTRIES KMP_FTN_UPPER18#endif19#elif KMP_OS_UNIX20#define KMP_FTN_ENTRIES KMP_FTN_PLAIN21#endif2223// Note: This string is not printed when KMP_VERSION=1.24char const __kmp_version_ftncdecl[] =25KMP_VERSION_PREFIX "Fortran __cdecl OMP support: "26#ifdef KMP_FTN_ENTRIES27"yes";28#define FTN_STDCALL /* no stdcall */29#include "kmp_ftn_os.h"30#include "kmp_ftn_entry.h"31#else32"no";33#endif /* KMP_FTN_ENTRIES */343536