summaryrefslogtreecommitdiff
path: root/ace/config-win32-visualage.h
blob: 19062e090408bafc64515d08c169f514e8639cc4 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/* -*- C++ -*- */
// $Id$

//Created for IBMCPP
// The following configuration file contains the defines
// common to all VisualAge compilers.

#ifndef ACE_WIN32_VISUALAGECPP_H
#define ACE_WIN32_VISUALAGECPP_H

#if defined (__IBMCPP__) && (__IBMCPP__ >= 400)

//These need to be defined for VisualAgeC++
#define ERRMAX 256 /* Needed for following define */
#define ACE_LACKS_SYS_NERR /* Needed for sys_nerr in Log_Msg.cpp */
#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES /* For signal handling */
#define ACE_HAS_TYPENAME_KEYWORD
#define ACE_LACKS_MKTEMP
#define ACE_HAS_CONSISTENT_SIGNAL_PROTOTYPES
#define NSIG 23 /* Maximum no. of signals + 1 */

#undef WIFEXITED
#undef WEXITSTATUS

#define ACE_HAS_CPLUSPLUS_HEADERS
#define ACE_HAS_BROKEN_NESTED_TEMPLATES

#define _O_RDWR   O_RDWR
#define _O_WRONLY O_WRONLY
#define _O_RDONLY O_RDONLY
#define _O_APPEND O_APPEND
#define _O_BINARY O_BINARY
#define _O_TEXT O_TEXT

#define _endthreadex _endthread
#define _beginthreadex _beginthread

//Error codes that are in MS Visual C++
#define EFAULT 99 /* Error code (should be in errno.h) */
#define ENODEV		19
#define EPIPE		32
#define ENAMETOOLONG	38


#if defined (ACE_HAS_UNICODE)
 #undef ACE_HAS_UNICODE
#endif /* ACE_HAS_UNICODE */

#if defined (ACE_HAS_WCHAR_TYPEDEFS_USHORT)
  #undef ACE_HAS_WCHAR_TYPEDEFS_USHORT
#endif /* ACE_HAS_WCHAR_TYPEDEFS_USHORT */

#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
//  #undef ACE_TEMPLATES_REQUIRE_SOURCE
#endif

#endif /* defined(__IBMCPP__) */
#endif /* ACE_WIN32_VISUALAGECPP_H */