summaryrefslogtreecommitdiffstats
path: root/Tests/MSVCRuntimeLibrary/verify.h
blob: 58d65fe32f61c4fd71fb8e9d0415f4ea3901f6a1 (plain)
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
#ifdef VERIFY_DEBUG
#  ifndef _DEBUG
#    error "_DEBUG not defined by debug runtime library selection"
#  endif
#else
#  ifdef _DEBUG
#    error "_DEBUG defined by non-debug runtime library selection"
#  endif
#endif

#ifdef VERIFY_DLL
#  ifndef _DLL
#    error "_DLL not defined by DLL runtime library selection"
#  endif
#else
#  ifdef _DLL
#    error "_DLL defined by non-DLL runtime library selection"
#  endif
#endif

#ifdef VERIFY_MT
#  ifndef _MT
#    error "_MT not defined by multi-threaded runtime library selection"
#  endif
#else
#  ifdef _MT
#    error "_MT defined by single-threaded runtime library selection"
#  endif
#endif