summaryrefslogtreecommitdiff
path: root/ACE
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-07-16 15:04:55 +0200
committerGitHub <noreply@github.com>2021-07-16 15:04:55 +0200
commit1e700ccbf6dcbe8e2edffae9285139dd246a5028 (patch)
treebe38c80214a5e99016efa803c54c86fa3139f5a5 /ACE
parent46ac50d47b02bab9066dd1bf0001dd778a0d8fa9 (diff)
parent4c26e2b362eb77103f7cb851afee82f64c1dafa2 (diff)
downloadATCD-1e700ccbf6dcbe8e2edffae9285139dd246a5028.tar.gz
Merge pull request #1607 from jwillemsen/jwi-configwin32commoncleanup
Simplified config-win32-common.h, moved the defines specific for a co…
Diffstat (limited to 'ACE')
-rw-r--r--ACE/ace/config-win32-borland.h1
-rw-r--r--ACE/ace/config-win32-common.h11
-rw-r--r--ACE/ace/config-win32-mingw.h3
-rw-r--r--ACE/ace/config-win32-mingw64.h3
-rw-r--r--ACE/ace/config-win32-msvc-14.h7
5 files changed, 14 insertions, 11 deletions
diff --git a/ACE/ace/config-win32-borland.h b/ACE/ace/config-win32-borland.h
index 10856fbf747..3e13ecba237 100644
--- a/ACE/ace/config-win32-borland.h
+++ b/ACE/ace/config-win32-borland.h
@@ -163,6 +163,7 @@
#define ACE_HAS_BUILTIN_BSWAP32
#define ACE_HAS_BUILTIN_BSWAP64
#define ACE_LACKS_INLINE_ASSEMBLY
+#define ACE_LACKS_PID_T
#if __cplusplus >= 201103L
# define ACE_HAS_CPP11
diff --git a/ACE/ace/config-win32-common.h b/ACE/ace/config-win32-common.h
index 7a4ac9282b9..a22eb51989a 100644
--- a/ACE/ace/config-win32-common.h
+++ b/ACE/ace/config-win32-common.h
@@ -304,17 +304,6 @@
#define ACE_LACKS_IOVEC
#define ACE_LACKS_LOG2
#define ACE_LACKS_CADDR_T
-#if !defined(__MINGW32__) && !defined (__BORLANDC__)
-# define ACE_LACKS_MODE_T
-#endif
-#if !defined(__MINGW32__)
-# define ACE_LACKS_PID_T
-#endif
-#if !defined (__BORLANDC__)
-# define ACE_LACKS_NLINK_T
-# define ACE_LACKS_UID_T
-# define ACE_LACKS_GID_T
-#endif
#define ACE_LACKS_SETENV
#define ACE_LACKS_UNSETENV
diff --git a/ACE/ace/config-win32-mingw.h b/ACE/ace/config-win32-mingw.h
index 61f4b833632..767feb993fc 100644
--- a/ACE/ace/config-win32-mingw.h
+++ b/ACE/ace/config-win32-mingw.h
@@ -85,6 +85,9 @@
#define ACE_HAS_WINSOCK2_GQOS
#define ACE_ISCTYPE_EQUIVALENT ::_isctype
#define ACE_LACKS_SET_ABORT_BEHAVIOR
+#define ACE_LACKS_NLINK_T
+#define ACE_LACKS_UID_T
+#define ACE_LACKS_GID_T
// We trust the user: He must have used -mpentiumpro or -mpentium
// if that is what he wants.
diff --git a/ACE/ace/config-win32-mingw64.h b/ACE/ace/config-win32-mingw64.h
index 1f3231b0e56..f7414ebda54 100644
--- a/ACE/ace/config-win32-mingw64.h
+++ b/ACE/ace/config-win32-mingw64.h
@@ -115,6 +115,9 @@
#define ACE_HAS_NONCONST_WCSDUP
#define ACE_ISCTYPE_EQUIVALENT ::_isctype
#define ACE_LACKS_SET_ABORT_BEHAVIOR
+#define ACE_LACKS_NLINK_T
+#define ACE_LACKS_UID_T
+#define ACE_LACKS_GID_T
#define ACE_HAS_PTHREAD_SIGMASK_PROTOTYPE
diff --git a/ACE/ace/config-win32-msvc-14.h b/ACE/ace/config-win32-msvc-14.h
index 44e670fc9d4..866c45f6dd2 100644
--- a/ACE/ace/config-win32-msvc-14.h
+++ b/ACE/ace/config-win32-msvc-14.h
@@ -141,5 +141,12 @@
#define ACE_LACKS_CLOSEDIR
#define ACE_LACKS_READDIR
+#define ACE_LACKS_MODE_T
+#define ACE_LACKS_PID_T
+
+#define ACE_LACKS_NLINK_T
+#define ACE_LACKS_UID_T
+#define ACE_LACKS_GID_T
+
#include /**/ "ace/post.h"
#endif /* ACE_CONFIG_WIN32_MSVC_14_H */