aboutsummaryrefslogtreecommitdiff
path: root/dep/ACE_wrappers/ace/config-win32-dmc.h
diff options
context:
space:
mode:
Diffstat (limited to 'dep/ACE_wrappers/ace/config-win32-dmc.h')
-rw-r--r--dep/ACE_wrappers/ace/config-win32-dmc.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/dep/ACE_wrappers/ace/config-win32-dmc.h b/dep/ACE_wrappers/ace/config-win32-dmc.h
index d737efcac82..ca855f5bc97 100644
--- a/dep/ACE_wrappers/ace/config-win32-dmc.h
+++ b/dep/ACE_wrappers/ace/config-win32-dmc.h
@@ -1,21 +1,28 @@
// -*- C++ -*-
// $Id: config-win32-dmc.h 81992 2008-06-16 19:09:50Z wotte $
+
// The following configuration file contains defines for Digital Mars compilers.
+
#ifndef ACE_CONFIG_WIN32_DMC_H
#define ACE_CONFIG_WIN32_DMC_H
#include /**/ "ace/pre.h"
+
#ifndef ACE_CONFIG_WIN32_H
#error Use config-win32.h in config.h instead of this header
#endif /* ACE_CONFIG_WIN32_H */
+
#ifndef WIN32
# define WIN32
#endif /* WIN32 */
+
#undef _M_IX86
// This turns on ACE_HAS_PENTIUM
#define _M_IX86 500
+
#if defined ACE_LACKS_STRUCT_DIR
# undef ACE_LACKS_STRUCT_DIR
#endif
+
// Changed ACE_TEXT to ACE_TEXT in the following line
# define ACE_CC_NAME ACE_TEXT ("Digital Mars")
# define ACE_CC_MAJOR_VERSION (1)
@@ -25,9 +32,12 @@
# define ACE_CC_PREPROCESSOR "DMC.EXE"
# define ACE_CC_PREPROCESSOR_ARGS "-E"
# endif
+
// Microsoft's standard cpp library auto_ptr doesn't have reset ().
# define ACE_AUTO_PTR_LACKS_RESET
+
#define ACE_ENDTHREADEX(STATUS) ::_endthreadex ((DWORD) STATUS)
+
// This section below was extracted from config-win32-msvc
#define ACE_HAS_ITOA
#define ACE_ITOA_EQUIVALENT ::_itoa
@@ -35,6 +45,7 @@
#define ACE_STRNCASECMP_EQUIVALENT ::_strnicmp
#define ACE_WCSDUP_EQUIVALENT ::_wcsdup
// This section above was extracted from config-win32-msvc
+
# define ACE_EXPORT_NESTED_CLASSES 1
# define ACE_HAS_CPLUSPLUS_HEADERS 1
//# define ACE_HAS_EXCEPTIONS 1
@@ -82,15 +93,19 @@
#define ACE_LACKS_TERMIOS_H
#define ACE_LACKS_ACE_IOSTREAM
#define ACE_HAS_NONCONST_TEMPNAM
+
// Typedefs which we expect DMC to do, but they don't do that
typedef long o_uid_t;
typedef long o_gid_t;
+
#include "io.h"
#undef umask;
#undef tell;
+
# if !defined (ACE_LD_DECORATOR_STR) && defined (_DEBUG)
# define ACE_LD_DECORATOR_STR ACE_TEXT ("d")
# endif
+
#include /**/ "ace/post.h"
#endif /* ACE_CONFIG_WIN32_DMC_H */