This repository has been archived by the owner on May 31, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathcrtdefs.h
65 lines (59 loc) · 1.68 KB
/
crtdefs.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
//
// crtdefs.h
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Declarations used across the Visual C++ Libraries. The lack of #pragma once
// is deliberate.
//
#include <vcruntime.h>
#include <corecrt.h>
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
//
// CRT DLL Export/Import Macros
//
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
#ifndef _CRTIMP_PURE
#if defined _M_CEE_PURE || defined _STATIC_CPPLIB
#define _CRTIMP_PURE
#elif defined MRTDLL && defined _CRTBLD
#define _CRTIMP_PURE
#else
#define _CRTIMP_PURE _CRTIMP
#endif
#endif
#ifndef _CRTIMP2
#if defined CRTDLL2 && defined _CRTBLD
#define _CRTIMP2 __declspec(dllexport)
#else
#if defined _DLL && !defined _STATIC_CPPLIB
#define _CRTIMP2 __declspec(dllimport)
#else
#define _CRTIMP2
#endif
#endif
#endif
#ifndef _CONCRTIMP
#if defined CONCRTDLL && defined _CRTBLD
#define _CONCRTIMP __declspec(dllexport)
#else
#if defined _DLL && !defined _STATIC_CPPLIB
#define _CONCRTIMP __declspec(dllimport)
#else
#define _CONCRTIMP
#endif
#endif
#endif
#ifndef _MRTIMP2
#if defined CRTDLL2 && defined _CRTBLD
#define _MRTIMP2 __declspec(dllexport)
#elif defined MRTDLL && defined _CRTBLD
#define _MRTIMP2 _MRTIMP
#else
#if defined _DLL && !defined _STATIC_CPPLIB
#define _MRTIMP2 __declspec(dllimport)
#else
#define _MRTIMP2
#endif
#endif
#endif