source: trunk/contrib/cppunit-1.12.2/include/cppunit/config/config-evc4.h @ 876

Last change on this file since 876 was 876, checked in by sam, 9 years ago

contrib: add a precompiled Win32 version of CppUnit and update build system
accordingly.

File size: 2.0 KB
Line 
1#ifndef _INCLUDE_CPPUNIT_CONFIG_EVC4_H
2#define _INCLUDE_CPPUNIT_CONFIG_EVC4_H 1
3
4#if _MSC_VER > 1000     // VC++
5#pragma warning( disable : 4786 )   // disable warning debug symbol > 255...
6#endif // _MSC_VER > 1000
7
8#define HAVE_CMATH 1
9 
10/* include/cppunit/config-msvc6.h. Manually adapted from
11   include/cppunit/config-auto.h */
12
13/* define to 1 if the compiler implements namespaces */
14#ifndef CPPUNIT_HAVE_NAMESPACES
15#define CPPUNIT_HAVE_NAMESPACES  1
16#endif
17
18/* define if library uses std::string::compare(string,pos,n) */
19#ifdef CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST
20#undef CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST
21#endif
22
23/* Define if you have the <dlfcn.h> header file. */
24#ifdef CPPUNIT_HAVE_DLFCN_H
25#undef CPPUNIT_HAVE_DLFCN_H
26#endif
27
28/* define to 1 if the compiler implements namespaces */
29#ifndef CPPUNIT_HAVE_NAMESPACES
30#define CPPUNIT_HAVE_NAMESPACES  1
31#endif
32
33/* define if the compiler supports Run-Time Type Identification */
34#ifndef CPPUNIT_HAVE_RTTI
35#define CPPUNIT_HAVE_RTTI  0
36#endif
37
38/* Define to 1 to use type_info::name() for class names */
39#ifndef CPPUNIT_USE_TYPEINFO_NAME
40#define CPPUNIT_USE_TYPEINFO_NAME  CPPUNIT_HAVE_RTTI
41#endif
42
43#define CPPUNIT_NO_STREAM 1
44#define CPPUNIT_NO_ASSERT 1
45
46#define CPPUNIT_HAVE_SSTREAM 0
47
48/* Name of package */
49#ifndef CPPUNIT_PACKAGE
50#define CPPUNIT_PACKAGE  "cppunit"
51#endif
52
53
54// Compiler error location format for CompilerOutputter
55// See class CompilerOutputter for format.
56#undef CPPUNIT_COMPILER_LOCATION_FORMAT
57#if _MSC_VER >= 1300    // VS 7.0
58# define CPPUNIT_COMPILER_LOCATION_FORMAT "%p(%l) : error : "
59#else
60# define CPPUNIT_COMPILER_LOCATION_FORMAT "%p(%l):"
61#endif
62
63/* define to 1 if the compiler has _finite() */
64#ifndef CPPUNIT_HAVE__FINITE
65#define CPPUNIT_HAVE__FINITE 1
66#endif
67
68// Uncomment to turn on STL wrapping => use this to test compilation.
69// This will make CppUnit subclass std::vector & co to provide default
70// parameter.
71/*#define CPPUNIT_STD_NEED_ALLOCATOR 1
72#define CPPUNIT_STD_ALLOCATOR std::allocator<T>
73//#define CPPUNIT_NO_NAMESPACE 1
74*/
75
76
77/* _INCLUDE_CPPUNIT_CONFIG_EVC4_H */
78#endif
Note: See TracBrowser for help on using the repository browser.