diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-06-28 03:58:49 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-06-28 03:58:49 +0000 |
commit | d39554742b239b211634d1e22cb8f6edce64b122 (patch) | |
tree | 87dcd6cf6c7355a1b36fc3dee112b9ad25323dfa /ace/config-win32-visualage.h | |
parent | 5d406e6db067c1916dba6b3a9af720b96d61f89e (diff) | |
download | ATCD-d39554742b239b211634d1e22cb8f6edce64b122.tar.gz |
.
Diffstat (limited to 'ace/config-win32-visualage.h')
-rw-r--r-- | ace/config-win32-visualage.h | 58 |
1 files changed, 58 insertions, 0 deletions
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 */ |