PageRenderTime 46ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

/dep/acelite/ace/config-win32-borland.h

http://github.com/ProjectSkyfire/SkyFireEMU
C Header | 179 lines | 130 code | 29 blank | 20 comment | 10 complexity | 783bf7feef81519703c1dda161d4c369 MD5 | raw file
Possible License(s): BSD-2-Clause, GPL-2.0, GPL-3.0, CC-BY-SA-3.0
  1. //-*- C++ -*-
  2. //$Id: config-win32-borland.h 97246 2013-08-07 07:10:20Z johnnyw $
  3. // The following configuration file contains defines for Borland compilers.
  4. #ifndef ACE_CONFIG_WIN32_BORLAND_H
  5. #define ACE_CONFIG_WIN32_BORLAND_H
  6. #include /**/ "ace/pre.h"
  7. #ifndef ACE_CONFIG_WIN32_H
  8. #error Use config-win32.h in config.h instead of this header
  9. #endif /* ACE_CONFIG_WIN32_H */
  10. #define ACE_HAS_CUSTOM_EXPORT_MACROS 1
  11. #define ACE_Proper_Export_Flag __declspec (dllexport)
  12. #define ACE_Proper_Import_Flag __declspec (dllimport)
  13. #define ACE_EXPORT_SINGLETON_DECLARATION(T) template class __declspec (dllexport) T
  14. #define ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) template class __declspec (dllexport) SINGLETON_TYPE<CLASS, LOCK>;
  15. #define ACE_IMPORT_SINGLETON_DECLARATION(T) template class __declspec (dllimport) T
  16. #define ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) template class __declspec (dllimport) SINGLETON_TYPE <CLASS, LOCK>;
  17. // In later versions of C++Builder we will prefer inline functions by
  18. // default. The debug configuration of ACE is built with functions
  19. // out-of-line, so when linking your application against a debug ACE
  20. // build, you can choose to use the out-of-line functions by adding
  21. // ACE_NO_INLINE=1 to your project settings.
  22. # if !defined (__ACE_INLINE__)
  23. # define __ACE_INLINE__ 1
  24. # endif /* __ACE_INLINE__ */
  25. # define ACE_CC_NAME ACE_TEXT ("Embarcadero C++ Builder")
  26. # define ACE_CC_MAJOR_VERSION (__BORLANDC__ / 0x100)
  27. # define ACE_CC_MINOR_VERSION (__BORLANDC__ % 0x100)
  28. # define ACE_CC_BETA_VERSION (0)
  29. #if (__BORLANDC__ >= 0x620)
  30. # define ACE_CC_PREPROCESSOR_ARGS "-q -Sl -o%s"
  31. #endif
  32. // Automatically define WIN32 macro if the compiler tells us it is our
  33. // target platform.
  34. # if defined (__WIN32__) && !defined (WIN32)
  35. # define WIN32 1
  36. # endif
  37. // When building a VCL application, the main VCL header file should be
  38. // included before anything else. You can define ACE_HAS_VCL=1 in your
  39. // project settings to have this file included for you automatically.
  40. # if defined (ACE_HAS_VCL) && (ACE_HAS_VCL != 0)
  41. # include /**/ <vcl.h>
  42. # endif
  43. #if defined (__clang__)
  44. # define ACE_HAS_BCC64
  45. #else
  46. # define ACE_HAS_BCC32
  47. #endif
  48. #if defined (ACE_HAS_BCC64)
  49. // Use 32bit pre processor because cpp64 doesn't have the same
  50. // options
  51. # define ACE_CC_PREPROCESSOR "CPP32.EXE"
  52. #else
  53. # define ACE_CC_PREPROCESSOR "CPP32.EXE"
  54. #endif
  55. # include "ace/config-win32-common.h"
  56. # define ACE_WSTRING_HAS_USHORT_SUPPORT 1
  57. # define ACE_HAS_DIRENT
  58. #define ACE_USES_STD_NAMESPACE_FOR_STDC_LIB 1
  59. #define ACE_LACKS_TERMIOS_H
  60. #define ACE_LACKS_NETINET_TCP_H
  61. #define ACE_LACKS_REGEX_H
  62. #define ACE_LACKS_SYS_MSG_H
  63. #define ACE_LACKS_PWD_H
  64. #define ACE_LACKS_POLL_H
  65. #define ACE_LACKS_SYS_SHM_H
  66. #define ACE_LACKS_STRINGS_H
  67. #define ACE_LACKS_SEMAPHORE_H
  68. #define ACE_LACKS_INTTYPES_H
  69. #define ACE_LACKS_UCONTEXT_H
  70. #define ACE_LACKS_SYS_SELECT_H
  71. #define ACE_LACKS_SYS_TIME_H
  72. #define ACE_LACKS_SYS_RESOURCE_H
  73. #define ACE_LACKS_SYS_WAIT_H
  74. #define ACE_LACKS_DLFCN_H
  75. #define ACE_LACKS_SYS_MMAN_H
  76. #define ACE_LACKS_SYS_UIO_H
  77. #define ACE_LACKS_SYS_SOCKET_H
  78. #define ACE_LACKS_NETINET_IN_H
  79. #define ACE_LACKS_NETDB_H
  80. #define ACE_LACKS_NET_IF_H
  81. #define ACE_LACKS_SYS_IPC_H
  82. #define ACE_LACKS_SYS_SEM_H
  83. #define ACE_LACKS_SYS_IOCTL_H
  84. #define ACE_LACKS_STROPTS_H
  85. #undef ACE_LACKS_STRUCT_DIR
  86. #undef ACE_LACKS_CLOSEDIR
  87. #undef ACE_LACKS_OPENDIR
  88. #undef ACE_LACKS_READDIR
  89. #undef ACE_LACKS_REWINDDIR
  90. #define ACE_HAS_WOPENDIR
  91. #define ACE_HAS_WCLOSEDIR
  92. #define ACE_HAS_WREADDIR
  93. #define ACE_HAS_WREWINDDIR
  94. #define ACE_LACKS_STRRECVFD
  95. #define ACE_USES_EXPLICIT_STD_NAMESPACE
  96. #if defined (ACE_HAS_BCC64)
  97. # define ACE_HAS_TIME_T_LONG_MISMATCH
  98. #endif
  99. #define ACE_EXPORT_NESTED_CLASSES 1
  100. #define ACE_HAS_CPLUSPLUS_HEADERS 1
  101. #define ACE_HAS_NONCONST_SELECT_TIMEVAL
  102. #define ACE_HAS_SIG_ATOMIC_T
  103. #define ACE_HAS_STANDARD_CPP_LIBRARY 1
  104. #define ACE_HAS_STDCPP_STL_INCLUDES 1
  105. #define ACE_HAS_STRING_CLASS 1
  106. #define ACE_HAS_USER_MODE_MASKS 1
  107. #define ACE_LACKS_ACE_IOSTREAM 1
  108. #define ACE_LACKS_LINEBUFFERED_STREAMBUF 1
  109. #define ACE_HAS_NEW_NOTHROW
  110. #define ACE_TEMPLATES_REQUIRE_SOURCE 1
  111. #define ACE_UINT64_FORMAT_SPECIFIER_ASCII "%Lu"
  112. #define ACE_INT64_FORMAT_SPECIFIER_ASCII "%Ld"
  113. #define ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB 1
  114. #define ACE_USES_STD_NAMESPACE_FOR_ABS 1
  115. #define ACE_ENDTHREADEX(STATUS) ::_endthreadex ((DWORD) STATUS)
  116. #if defined(ACE_MT_SAFE) && (ACE_MT_SAFE != 0)
  117. // must have _MT defined to include multithreading
  118. // features from win32 headers
  119. # if !defined(__MT__)
  120. // *** DO NOT *** defeat this error message by defining __MT__ yourself.
  121. // You must link with the multi threaded libraries. Add -tWM to your
  122. // compiler options
  123. # error You must link against multi-threaded libraries when using ACE (check your project settings)
  124. # endif /* !__MT__ */
  125. #endif /* ACE_MT_SAFE && ACE_MT_SAFE != 0 */
  126. #if (__BORLANDC__ <= 0x660)
  127. # define ACE_LACKS_ISWCTYPE
  128. # define ACE_LACKS_ISCTYPE
  129. #endif
  130. #if (__BORLANDC__ >= 0x650) && (__BORLANDC__ <= 0x660)
  131. # define ACE_LACKS_STRTOK_R
  132. #endif
  133. #if (__BORLANDC__ <= 0x660)
  134. # define ACE_LACKS_LOCALTIME_R
  135. #endif
  136. #define ACE_WCSDUP_EQUIVALENT ::_wcsdup
  137. #define ACE_STRCASECMP_EQUIVALENT ::stricmp
  138. #define ACE_STRNCASECMP_EQUIVALENT ::strnicmp
  139. #define ACE_WTOF_EQUIVALENT ::_wtof
  140. #define ACE_FILENO_EQUIVALENT(X) (_get_osfhandle (::_fileno (X)))
  141. #define ACE_HAS_ITOA 1
  142. #if defined (ACE_HAS_BCC64)
  143. # define ACE_LACKS_SWAB
  144. #endif
  145. #if defined (ACE_HAS_BCC32)
  146. # define ACE_SIZEOF_LONG_DOUBLE 10
  147. # define ACE_NEEDS_DL_UNDERSCORE
  148. #endif
  149. #include /**/ "ace/post.h"
  150. #endif /* ACE_CONFIG_WIN32_BORLAND_H */