2 * kmp_ftn_cdecl.cpp -- Fortran __cdecl linkage support for OpenMP.
5 //===----------------------------------------------------------------------===//
7 // The LLVM Compiler Infrastructure
9 // This file is dual licensed under the MIT and the University of Illinois Open
10 // Source Licenses. See LICENSE.txt for details.
12 //===----------------------------------------------------------------------===//
15 #include "kmp_affinity.h"
18 #if defined KMP_WIN_CDECL || !KMP_DYNAMIC_LIB
19 #define KMP_FTN_ENTRIES KMP_FTN_UPPER
22 #define KMP_FTN_ENTRIES KMP_FTN_PLAIN
25 // Note: This string is not printed when KMP_VERSION=1.
26 char const __kmp_version_ftncdecl[] =
27 KMP_VERSION_PREFIX "Fortran __cdecl OMP support: "
28 #ifdef KMP_FTN_ENTRIES
30 #define FTN_STDCALL /* no stdcall */
31 #include "kmp_ftn_os.h"
32 #include "kmp_ftn_entry.h"
35 #endif /* KMP_FTN_ENTRIES */