*Backed out changeset 3be01fb200a5
--HG-- branch : trunk
This commit is contained in:
@@ -1,32 +1,43 @@
|
||||
// -*- C++ -*-
|
||||
// $Id: config-win32-mingw.h 81693 2008-05-14 12:35:01Z johnnyw $
|
||||
|
||||
//
|
||||
// The following configuration file is designed to work for win32
|
||||
// platforms using gcc/g++ with mingw32 (http://www.mingw.org).
|
||||
//
|
||||
|
||||
#ifndef ACE_CONFIG_WIN32_MINGW_H
|
||||
#define ACE_CONFIG_WIN32_MINGW_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 */
|
||||
|
||||
#define ACE_CC_NAME ACE_TEXT ("g++")
|
||||
#define ACE_CC_PREPROCESSOR "cpp"
|
||||
#define ACE_CC_PREPROCESOR_ARGS ""
|
||||
|
||||
// Why all this is not in config-g++-common.h?
|
||||
#define ACE_CC_MAJOR_VERSION __GNUC__
|
||||
#define ACE_CC_MINOR_VERSION __GNUC_MINOR__
|
||||
#define ACE_CC_BETA_VERSION (0)
|
||||
|
||||
#if !defined(__MINGW32__)
|
||||
# error You do not seem to be using mingw32
|
||||
#endif
|
||||
|
||||
#include "ace/config-g++-common.h"
|
||||
|
||||
#include /**/ <_mingw.h>
|
||||
#include /**/ <w32api.h>
|
||||
|
||||
#define ACE_HAS_USER_MODE_MASKS
|
||||
|
||||
#if (__MINGW32_MAJOR_VERSION < 2)
|
||||
# error You need a newer version (>= 2.0) of mingw32/w32api
|
||||
#endif
|
||||
|
||||
#if (__MINGW32_MAJOR_VERSION >= 3)
|
||||
# define ACE_HAS_SSIZE_T
|
||||
# undef ACE_LACKS_STRUCT_DIR
|
||||
@@ -39,7 +50,9 @@
|
||||
#else
|
||||
# define ACE_LACKS_DIRENT_H
|
||||
#endif
|
||||
|
||||
#undef ACE_LACKS_SIGSET
|
||||
|
||||
#define ACE_LACKS_SIGSET_DEFINITIONS
|
||||
#define ACE_LACKS_SYS_SHM_H
|
||||
#define ACE_LACKS_TERMIOS_H
|
||||
@@ -71,14 +84,18 @@
|
||||
#define ACE_LACKS_PDHMSG_H
|
||||
#define ACE_HAS_NONCONST_WCSDUP
|
||||
#define ACE_HAS_WINSOCK2_GQOS
|
||||
|
||||
// We trust the user: He must have used -mpentiumpro or -mpentium
|
||||
// if that is what he wants.
|
||||
#if defined(pentiumpro) || defined(pentium)
|
||||
# define ACE_HAS_PENTIUM
|
||||
#endif
|
||||
|
||||
#define ACE_INT64_FORMAT_SPECIFIER ACE_TEXT ("%I64d")
|
||||
#define ACE_UINT64_FORMAT_SPECIFIER ACE_TEXT ("%I64u")
|
||||
|
||||
#define ACE_ENDTHREADEX(STATUS) ::_endthreadex ((DWORD) (STATUS))
|
||||
|
||||
#include /**/ "ace/post.h"
|
||||
#endif /* ACE_CONFIG_WIN32_MINGW_H */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user