summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1999-07-03 00:58:58 +0000
committerSteve Huston <shuston@riverace.com>1999-07-03 00:58:58 +0000
commit5c915f3305554b97df012f1de479a0c5ea003a9e (patch)
treec4bf7728356cdcbe31d8bb48ef04617a123f7605
parentcd979a2ced63601eab109cc10a44ffac5cb691e2 (diff)
downloadATCD-5c915f3305554b97df012f1de479a0c5ea003a9e.tar.gz
See ChangeLog, Fri Jul 02 18:28:31 1999 Steve Huston
-rw-r--r--ace/config-hpux-11.x-hpc++.h2
-rw-r--r--ace/config-hpux11.h15
2 files changed, 16 insertions, 1 deletions
diff --git a/ace/config-hpux-11.x-hpc++.h b/ace/config-hpux-11.x-hpc++.h
index f050590a332..dee1a6cbb05 100644
--- a/ace/config-hpux-11.x-hpc++.h
+++ b/ace/config-hpux-11.x-hpc++.h
@@ -70,6 +70,8 @@
// Compiler supports template specialization.
# define ACE_HAS_TEMPLATE_SPECIALIZATION
+// ... and uses the template<> syntax
+# define ACE_HAS_STD_TEMPLATE_SPECIALIZATION
// Preprocessor needs some help with data types
# if defined (__LP64__)
diff --git a/ace/config-hpux11.h b/ace/config-hpux11.h
index 8f21f48bb87..fe601c6fae4 100644
--- a/ace/config-hpux11.h
+++ b/ace/config-hpux11.h
@@ -215,17 +215,30 @@
#define ACE_HAS_TLI_PROTOTYPES
// HP-UX 11.00 (at least at initial releases) has some busted macro defs
#define ACE_HAS_BROKEN_XTI_MACROS
+// HP-UX 11 conforms to the XPG4 spec, which ACE calls broken for the
+// errmsg not being const...
+#define ACE_HAS_BROKEN_T_ERROR
/////////////////////////////////////////////////////////////////////////
//
// Threads information.
//
// Use of threads is controlled by the 'threads' argument to make. See
-// include/makeinclude/platform_hpux_aCC.GNU for details.
+// include/makeinclude/platform_hpux_aCC.GNU for details. If it's not set,
+// the default is to enable it, since kernel threads are always available
+// on HP-UX 11, as opposed to 10.x where it was optional software.
//
////////////////////////////////////////////////////////////////////////
#if defined (ACE_HAS_THREADS)
+# if (ACE_HAS_THREADS == 0)
+# undef ACE_HAS_THREADS
+# endif /* ACE_HAS_THREADS == 0 */
+#else
+# define ACE_HAS_THREADS
+#endif /* ACE_HAS_THREADS */
+
+#if defined (ACE_HAS_THREADS)
# if !defined (ACE_MT_SAFE)
# define ACE_MT_SAFE 1