Adobe Source Libraries 1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
visualc.hpp
Go to the documentation of this file.
1/*
2 Copyright 2013 Adobe
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5*/
6/**************************************************************************************************/
7
8#ifndef ADOBE_CONFIG_COMPILER_MSVC_HPP
9#define ADOBE_CONFIG_COMPILER_MSVC_HPP
10
11/**************************************************************************************************/
12
13#ifndef ADOBE_CONFIG_HPP
14#error \
15 "This file is intended to be included by <adobe/config.hpp> -- please use that file directly."
16#endif
17
18/**************************************************************************************************/
19
20#ifndef ADOBE_COMPILER_MSVC
21#define ADOBE_COMPILER_MSVC 1
22#endif
23
24/**************************************************************************************************/
25#if 0
26
27#ifndef ADOBE_TEST_MICROSOFT_NO_DEPRECATE
28#define ADOBE_TEST_MICROSOFT_NO_DEPRECATE 1
29#endif
30
31#if ADOBE_TEST_MICROSOFT_NO_DEPRECATE
32#if _MSC_VER >= 1400
33/*
34 The explanation for this check is explained at
35
36 https://stlab.cc/legacy/troubleshooting.html
37*/
38
39#ifndef _CRT_SECURE_NO_DEPRECATE
40#error \
41 "Microsoft 'Safe Standard C Library' is not supported. See <http://stlab.adobe.com/wiki/index.php/Troubleshooting>"
42#endif
43
44#ifndef _SCL_SECURE_NO_DEPRECATE
45#error \
46 "Microsoft 'Safe Standard C++ Library' is not supported. See <http://stlab.adobe.com/wiki/index.php/Troubleshooting>"
47#endif
48#endif
49#endif
50
51#endif
52
53
54/**************************************************************************************************/
55
56#endif
57
58/**************************************************************************************************/