Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 414685
Collapse All | Expand All

(-)src/common/xlsys.h (-63 lines)
Lines 31-37 Link Here
31
#ifndef XLSLIB_CONFIG_H
31
#ifndef XLSLIB_CONFIG_H
32
#define XLSLIB_CONFIG_H
32
#define XLSLIB_CONFIG_H
33
33
34
#ifdef HAVE_CONFIG_H
35
#include "xlconfig.h"
34
#include "xlconfig.h"
36
35
37
#define CFG_TRUE          1
36
#define CFG_TRUE          1
Lines 49-116 Link Here
49
#   define ALLOCATOR_DFLT ALLOCATOR_STL
48
#   define ALLOCATOR_DFLT ALLOCATOR_STL
50
#endif
49
#endif
51
50
52
53
#else // HAVE_CONFIG_H
54
55
#if defined(_MSC_VER) && defined(WIN32)
56
57
#if (_MSC_VER >= 1400)
58
59
#if defined(WANT_MICROSOFT_MEMDBG)
60
61
// Studio 2008 (and maybe earlier versions too?)
62
#define _CRTDBG_MAP_ALLOC
63
64
#include "crtdbg.h"
65
66
#if defined(_DEBUG) && defined(__cplusplus)
67
68
#include <xdebug>
69
70
#include <xlocale>
71
#include <xiosbase>
72
#include <xlocnum>
73
#include <xtree>
74
75
#define new_dbg		new(_CLIENT_BLOCK, __FILE__, __LINE__)
76
#define new			new_dbg
77
78
#endif
79
80
#endif
81
82
#else
83
84
// Older versions of MSVC++
85
// Fakes the inclusion of crtdbg.h to avoid duplicated symbols
86
// of (inlined) new() and delete() operators
87
#define _INC_CRTDBG
88
89
#endif // _MSC_VER >= 1400
90
91
#include "ac-config.win32.h"
92
93
#endif // defined(_MSC_VER) && defined(WIN32)
94
95
96
97
#define CFG_TRUE          1
98
#define CFG_FALSE         0
99
100
#define ALLOCATOR_STL     0
101
#define ALLOCATOR_BTI     1
102
103
#if defined(ALLOC_STL)
104
#   define ALLOCATOR_DFLT ALLOCATOR_STL
105
#elif defined(ALLOC_BTI)
106
#   define ALLOCATOR_DFLT ALLOCATOR_BTI
107
#else
108
#   define ALLOCATOR_DFLT ALLOCATOR_STL
109
#endif
110
111
112
#endif
113
114
#ifdef __BCPLUSPLUS__
51
#ifdef __BCPLUSPLUS__
115
#  include "ac-config.win32.h"
52
#  include "ac-config.win32.h"
116
// I am assuming this header file is created and include automatically by MSVC.
53
// I am assuming this header file is created and include automatically by MSVC.

Return to bug 414685