LLVM OpenMP* Runtime Library
kmp_ftn_stdcall.cpp
1 /*
2  * kmp_ftn_stdcall.cpp -- Fortran __stdcall linkage support for OpenMP.
3  */
4 
5 
6 //===----------------------------------------------------------------------===//
7 //
8 // The LLVM Compiler Infrastructure
9 //
10 // This file is dual licensed under the MIT and the University of Illinois Open
11 // Source Licenses. See LICENSE.txt for details.
12 //
13 //===----------------------------------------------------------------------===//
14 
15 
16 #include "kmp.h"
17 
18 // Note: This string is not printed when KMP_VERSION=1.
19 char const __kmp_version_ftnstdcall[] =
20  KMP_VERSION_PREFIX "Fortran __stdcall OMP support: "
21 #ifdef USE_FTN_STDCALL
22  "yes";
23 #else
24  "no";
25 #endif
26 
27 #ifdef USE_FTN_STDCALL
28 
29 #define FTN_STDCALL KMP_STDCALL
30 #define KMP_FTN_ENTRIES USE_FTN_STDCALL
31 
32 #include "kmp_ftn_entry.h"
33 #include "kmp_ftn_os.h"
34 
35 #endif /* USE_FTN_STDCALL */