*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk
This commit is contained in:
@@ -1,20 +1,15 @@
|
||||
// -*- C++ -*-
|
||||
// $Id: config-win32-ghs.h 81992 2008-06-16 19:09:50Z wotte $
|
||||
|
||||
// The following configuration file contains defines for Green Hills compilers.
|
||||
|
||||
#ifndef ACE_CONFIG_WIN32_GHS_H
|
||||
#define ACE_CONFIG_WIN32_GHS_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
|
||||
@@ -22,13 +17,11 @@
|
||||
#define ACE_HAS_DLL 0
|
||||
#define TAO_HAS_DLL 0
|
||||
#undef _DLL
|
||||
|
||||
//Green Hills Native x86 does not support structural exceptions
|
||||
# undef ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS
|
||||
# undef ACE_HAS_WCHAR
|
||||
# define ACE_CONFIG_INCLUDE_GHS_COMMON
|
||||
# include "ace/config-ghs-common.h"
|
||||
|
||||
// Changed ACE_TEXT to ACE_TEXT in the following line
|
||||
# define ACE_CC_NAME ACE_TEXT ("Green Hills C++")
|
||||
# define ACE_CC_MAJOR_VERSION (1)
|
||||
@@ -38,14 +31,11 @@
|
||||
# define ACE_CC_PREPROCESSOR "GCX.EXE"
|
||||
# define ACE_CC_PREPROCESSOR_ARGS "-E"
|
||||
# endif
|
||||
|
||||
// GHS uses Microsoft's standard cpp library, which has auto_ptr.
|
||||
# undef ACE_LACKS_AUTO_PTR
|
||||
// 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
|
||||
@@ -53,7 +43,6 @@
|
||||
#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
|
||||
@@ -80,18 +69,14 @@
|
||||
# define ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB 1
|
||||
// Set the following to zero to placate SString.h ACE_WString CTOR
|
||||
# undef ACE_WSTRING_HAS_USHORT_SUPPORT
|
||||
|
||||
// Green Hills Native x86 does not support __int64 keyword
|
||||
# define ACE_LACKS_LONGLONG_T
|
||||
|
||||
/* need to ensure these are included before <iomanip> */
|
||||
# include <time.h>
|
||||
# include <stdlib.h>
|
||||
|
||||
# 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_GHS_H */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user