summaryrefslogtreecommitdiff
path: root/ace/config-win32-borland.h
blob: d007b40fd2bbb86ad4c00622185b07bb1a5bee12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* -*- C++ -*- */
// $Id$

// The following configuration file contains the defines
// common to all Borland compilers.

#ifndef ACE_WIN32_BORLAND_H
#define ACE_WIN32_BORLAND_H

#if defined(__BORLANDC__)

#if defined (ACE_LACKS_MODE_MASKS)
#undef ACE_LACKS_MODE_MASKS
#endif /* defined (ACE_LACKS_MODE_MASKS) */

#define ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION
#define ACE_HAS_BROKEN_SAP_ANY

/*
 * Definitions common to Borland C++ 5.x and Borland C++ Builder 3.x.
 */
#if (__BORLANDC__ >= 0x500)
  #if !defined (ACE_HAS_WINCE)
    #define ACE_HAS_SIG_ATOMIC_T
  #endif /* !defined (ACE_HAS_WINCE) */

  #define ACE_HAS_TYPENAME_KEYWORD

  #ifdef ACE_SIZEOF_LONG_DOUBLE
  #undef ACE_SIZEOF_LONG_DOUBLE
  #endif
  #define ACE_SIZEOF_LONG_DOUBLE 10

  #ifdef ACE_HAS_USING_KEYWORD
  #undef ACE_HAS_USING_KEYWORD
  #endif
  #define ACE_HAS_USING_KEYWORD 1

  #ifdef ACE_HAS_STANDARD_CPP_LIBRARY
  #undef ACE_HAS_STANDARD_CPP_LIBRARY
  #endif
  #define ACE_HAS_STANDARD_CPP_LIBRARY 0
#endif /* (__BORLANDC__ >= 0x500) */

/*
 * Definitions only for Borland C++ Builder 3.x.
 */
#if (__BORLANDC__ >= 0x0530)

  #ifdef ACE_HAS_STANDARD_CPP_LIBRARY
  #undef ACE_HAS_STANDARD_CPP_LIBRARY
  #endif
  #define ACE_HAS_STANDARD_CPP_LIBRARY 1

  #ifdef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB
  #undef ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB
  #endif
  #define ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB 1

#endif /* (__BORLANDC__ >= 0x0530) */

#endif /* defined(__BORLANDC__) */

#endif /* ACE_WIN32_BORLAND_H */