From d39554742b239b211634d1e22cb8f6edce64b122 Mon Sep 17 00:00:00 2001 From: schmidt Date: Mon, 28 Jun 1999 03:58:49 +0000 Subject: . --- ace/config-win32-visualage.h | 58 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 ace/config-win32-visualage.h (limited to 'ace/config-win32-visualage.h') diff --git a/ace/config-win32-visualage.h b/ace/config-win32-visualage.h new file mode 100644 index 00000000000..19062e09040 --- /dev/null +++ b/ace/config-win32-visualage.h @@ -0,0 +1,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 */ -- cgit v1.2.1