summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2022-07-02 09:17:39 +0200
committerAdam Mitz <mitza@objectcomputing.com>2022-09-09 15:54:49 -0500
commitecdd1a04dc8c7c3bae05818204b90ece09662bb9 (patch)
tree47f9b78c8b741a05e279eaa24fffe82e74882faa
parent2af103019759b934b9022d221fcd8f1502441fe2 (diff)
downloadATCD-ecdd1a04dc8c7c3bae05818204b90ece09662bb9.tar.gz
Merge pull request #1877 from jwillemsen/jwi-vxworks2203
Added config file for VxWorks 22.03 (cherry picked from commit a9a4ffd350481eb482bd6a738c40c2a8a38515a1)
-rw-r--r--ACE/ace/OS_NS_sys_stat.h3
-rw-r--r--ACE/ace/config-vxworks22.03.h20
2 files changed, 21 insertions, 2 deletions
diff --git a/ACE/ace/OS_NS_sys_stat.h b/ACE/ace/OS_NS_sys_stat.h
index cf6e99f3699..50fba77ab6f 100644
--- a/ACE/ace/OS_NS_sys_stat.h
+++ b/ACE/ace/OS_NS_sys_stat.h
@@ -34,8 +34,7 @@
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
-# if defined (_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 \
- && defined (ACE_WIN32)
+# if defined (_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64 && defined (ACE_WIN32)
# if defined (__BORLANDC__)
typedef struct stati64 ACE_stat;
# define ACE_STAT_FUNC_NAME ::_stati64
diff --git a/ACE/ace/config-vxworks22.03.h b/ACE/ace/config-vxworks22.03.h
new file mode 100644
index 00000000000..18c7576b29b
--- /dev/null
+++ b/ACE/ace/config-vxworks22.03.h
@@ -0,0 +1,20 @@
+/* -*- C++ -*- */
+// The following configuration file is designed to work for VxWorks
+// 22.03 platforms using one of these compilers:
+// 1) The llvm compiler that is shipped with VxWorks 22.03
+
+#ifndef ACE_CONFIG_VXWORKS_22_03_H
+#define ACE_CONFIG_VXWORKS_22_03_H
+#include /**/ "ace/pre.h"
+
+#include "ace/config-vxworks.h"
+
+#if !defined (__RTP__)
+# undef ACE_MKDIR_LACKS_MODE
+# define ACE_LACKS_GETPID
+#endif
+
+#define ACE_HAS_SOCKLEN_T
+
+#include /**/ "ace/post.h"
+#endif /* ACE_CONFIG_VXWORKS_22_03_H */