CPPXT-104 - Add exception handling to integer conversions
[shibboleth/cpp-xmltooling.git] / xmltooling / config_pub_win32.h
1 /**
2  * Licensed to the University Corporation for Advanced Internet
3  * Development, Inc. (UCAID) under one or more contributor license
4  * agreements. See the NOTICE file distributed with this work for
5  * additional information regarding copyright ownership.
6  *
7  * UCAID licenses this file to you under the Apache License,
8  * Version 2.0 (the "License"); you may not use this file except
9  * in compliance with the License. You may obtain a copy of the
10  * License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing,
15  * software distributed under the License is distributed on an
16  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
17  * either express or implied. See the License for the specific
18  * language governing permissions and limitations under the License.
19  */
20
21 /* Define if C++ compiler supports covariant virtual methods. */
22 #define HAVE_COVARIANT_RETURNS 1
23
24 /* Define to 1 if C++ compiler supports nullptr keyword. */
25 #if _MSC_VER >= 1600
26 # define HAVE_NULLPTR 1
27 #endif
28
29 /* Define to 1 if you have an STL implementation that supports useful string
30    specialization. */
31 #define HAVE_GOOD_STL 1
32
33 /* Define to 1 if you have an STL implementation that supports
34    std::iterator_traits. */
35 #define HAVE_ITERATOR_TRAITS 1
36
37 /* Define if log4shib library is used. */
38 #define XMLTOOLING_LOG4SHIB 1
39
40 /* Define if log4cpp library is used. */
41 /* #undef XMLTOOLING_LOG4CPP */
42
43 /* Define to 1 to disable XML-Security-dependent features. */
44 /* #undef XMLTOOLING_NO_XMLSEC */
45
46 /* Define if you wish to disable Xalan-dependent features. */
47 #define XSEC_NO_XALAN
48
49 #include <xercesc/util/XercesVersion.hpp>
50
51 #if (XERCES_VERSION_MAJOR >= 3)
52 # define XMLTOOLING_XERCESC_COMPLIANT_DOMLS     1
53 # define XMLTOOLING_XERCESC_BOOLSETIDATTRIBUTE  1
54 # define XMLTOOLING_XERCESC_64BITSAFE           1
55 #endif
56
57 /* Define to 1 if you have the `xsecsize_t' type. */
58 #define HAVE_XSECSIZE_T 1
59
60 #ifndef XMLTOOLING_NO_XMLSEC
61 # include <xsec/framework/XSECDefs.hpp>
62 # if (_XSEC_VERSION_FULL >= 10500)
63 #  define XMLTOOLING_XMLSEC_C14N11 1
64 # endif
65 # if (_XSEC_VERSION_FULL >= 10600)
66 #  define XMLTOOLING_XMLSEC_MULTIPLECRL 1
67 #  define XMLTOOLING_XMLSEC_SIGALGORITHM 1
68 #  define XMLTOOLING_XMLSEC_ECC 1
69 #  define XMLTOOLING_XMLSEC_DEBUGLOGGING 1
70 # endif
71 #endif
72