6653041d8a064f212e2b9d4efb000f6c1b645fda
[ardour.git] / msvc_extra_headers / je-test.h
1 #ifndef _TARGETSXS_H_
2 #define _TARGETSXS_H_
3
4 #pragma warning( disable : 4996 )
5
6 #ifndef HAVE_LV2
7 #define HAVE_SUIL
8 #define HAVE_LV2
9 /* Comment out the above lines to build Mixbus without LV2 support */
10 #endif
11
12 #ifndef VST_SUPPORT
13 #define VST_SUPPORT
14 /* Comment out the above line to build Mixbus without VST support */
15 #endif
16
17 #ifndef JACK_32_64
18 #define JACK_32_64
19 /* Shouldn't really be needed but make sure that any structs we
20    obtain from libjack will have 1-byte packing alignment where
21    necessary (belt & braces approach to be on the safe side) */
22 #endif
23
24 #ifdef _DEBUG
25 #define _SECURE_SCL 1
26 #define _HAS_ITERATOR_DEBUGGING 1
27 /* #define to zero for a more conventional Debug build */
28 #endif
29
30 #ifndef __midl
31 #if defined(_DEBUG) || defined (DEBUG)
32 /* Experimental - link to the lowest DebugCRT so we can run on another system */
33 #define _SXS_ASSEMBLY_VERSION "8.0.50727.42"
34 #else
35 #define _SXS_ASSEMBLY_VERSION "8.0.50727.6195"
36 #endif
37 #define _CRT_ASSEMBLY_VERSION _SXS_ASSEMBLY_VERSION
38 #define _MFC_ASSEMBLY_VERSION _SXS_ASSEMBLY_VERSION
39 #define _ATL_ASSEMBLY_VERSION _SXS_ASSEMBLY_VERSION
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 __declspec(selectany) int _forceCRTManifest;
45 __declspec(selectany) int _forceMFCManifest;
46 __declspec(selectany) int _forceAtlDllManifest;
47 __declspec(selectany) int _forceCRTManifestRTM;
48 __declspec(selectany) int _forceMFCManifestRTM;
49 __declspec(selectany) int _forceAtlDllManifestRTM;
50 #ifdef __cplusplus
51 }
52 #endif
53 #endif
54
55 /* 'stdint.h' conflicts with various other libraries so
56    let's #include stdint.h first to ensure one consistent
57    implementation for commonly used integer types. */
58 #include <stdint.h>
59
60 #if (BUILDING_ARDOUR)
61 #if defined(_MSC_VER) && !defined(__MINGW__) && !defined(__MINGW32__)
62 #include <ardourext/misc.h>
63 #endif
64 #endif
65
66 #endif /*_TARGETSXS_H_*/