blob: 671bc063f26a6cef52ea6014cbb1495dc01c9cae [file] [log] [blame]
Jim Cownie5e8470a2013-09-27 10:38:44 +00001/*
2 * kmp_ftn_stdcall.c -- Fortran __stdcall linkage support for OpenMP.
3 * $Revision: 42061 $
4 * $Date: 2013-02-28 16:36:24 -0600 (Thu, 28 Feb 2013) $
5 */
6
7
8//===----------------------------------------------------------------------===//
9//
10// The LLVM Compiler Infrastructure
11//
12// This file is dual licensed under the MIT and the University of Illinois Open
13// Source Licenses. See LICENSE.txt for details.
14//
15//===----------------------------------------------------------------------===//
16
17
18#include "kmp.h"
19
20// Note: This string is not printed when KMP_VERSION=1.
21char const __kmp_version_ftnstdcall[] = KMP_VERSION_PREFIX "Fortran __stdcall OMP support: "
22#ifdef USE_FTN_STDCALL
23 "yes";
24#else
25 "no";
26#endif
27
28#ifdef USE_FTN_STDCALL
29
30#define FTN_STDCALL KMP_STDCALL
31#define KMP_FTN_ENTRIES USE_FTN_STDCALL
32
33#include "kmp_ftn_os.h"
34#include "kmp_ftn_entry.h"
35
36#endif /* USE_FTN_STDCALL */
37