~ubuntu-branches/ubuntu/wily/bombono-dvd/wily

« back to all changes in this revision

Viewing changes to src/mlib/adobe/config/compiler/visualc.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2010-11-04 11:46:25 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20101104114625-8xfdhvhpsm51i0nu
Tags: upstream-0.8.0
ImportĀ upstreamĀ versionĀ 0.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    Copyright 2005-2007 Adobe Systems Incorporated
 
3
    Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
 
4
    or a copy at http://stlab.adobe.com/licenses.html)
 
5
*/
 
6
 
 
7
/*************************************************************************************************/
 
8
 
 
9
#ifndef ADOBE_CONFIG_COMPILER_MSVC_HPP
 
10
#define ADOBE_CONFIG_COMPILER_MSVC_HPP
 
11
 
 
12
/*************************************************************************************************/
 
13
 
 
14
#ifndef ADOBE_CONFIG_HPP
 
15
    #error "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
 
 
26
#ifndef ADOBE_TEST_MICROSOFT_NO_DEPRECATE
 
27
    #define ADOBE_TEST_MICROSOFT_NO_DEPRECATE 1
 
28
#endif
 
29
 
 
30
#if ADOBE_TEST_MICROSOFT_NO_DEPRECATE
 
31
    #if _MSC_VER >= 1400
 
32
        /*
 
33
            The explanation for this check is explained at
 
34
 
 
35
             http://stlab.adobe.com/wiki/index.php/Troubleshooting
 
36
        */
 
37
 
 
38
        #ifndef _CRT_SECURE_NO_DEPRECATE
 
39
            #error "Microsoft 'Safe Standard C Library' is not supported. See <http://stlab.adobe.com/wiki/index.php/Troubleshooting>"
 
40
        #endif
 
41
 
 
42
        #ifndef _SCL_SECURE_NO_DEPRECATE
 
43
            #error "Microsoft 'Safe Standard C++ Library' is not supported. See <http://stlab.adobe.com/wiki/index.php/Troubleshooting>"
 
44
        #endif
 
45
    #endif
 
46
#endif
 
47
 
 
48
 
 
49
/*************************************************************************************************/
 
50
 
 
51
#endif
 
52
 
 
53
/*************************************************************************************************/