summaryrefslogtreecommitdiff
path: root/ace/config-win32.h
blob: ae61127505d8a1948f88abc5a50340d9e0cb6eb5 (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
/* -*- C++ -*- */
// $Id$

// The following configuration file is designed to work for Windows
// 9x, Windows NT 3.51, and Windows NT 4.0 platforms and supports a
// variety of compilers.

#ifndef ACE_CONFIG_H
#define ACE_CONFIG_H
#include "ace/pre.h"

#if defined (ACE_HAS_WINCE) || defined (UNDER_CE)
# include "ace/config-WinCE.h"
#endif /* ACE_HAS_WINCE */

#if defined (_MSC_VER)
# include "ace/config-win32-msvc.h"
#elif defined (__BORLANDC__)
# include "ace/config-win32-borland.h"
#elif defined (__IBMCPP__)
# include "ace/config-win32-visualage.h"
#else
# error "Compiler does not seem to be supported"
#endif /* _MSC_VER */

#if !defined(ACE_WIN32) && defined (__IBMCPP__) && (__IBMCPP__ >= 400)
#  define ACE_ENDTHREADEX(STATUS) ::_endthread ()
#elif defined(ACE_WIN32) && defined (__IBMCPP__) && (__IBMCPP__ >= 400)
#  define ACE_ENDTHREADEX(STATUS) ::_endthread ()
#elif defined (ACE_HAS_WINCE) && defined (UNDER_CE) && (UNDER_CE >= 211)
#  define ACE_ENDTHREADEX(STATUS) ExitThread ((DWORD) STATUS)
#else
#  define ACE_ENDTHREADEX(STATUS) ::_endthreadex ((DWORD) STATUS)
#endif /* defined (__IBMCPP__) && (__IBMCPP__ >= 400) */

#include "ace/post.h"
#endif /* ACE_CONFIG_H */