summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1998-04-15 22:12:00 +0000
committerSteve Huston <shuston@riverace.com>1998-04-15 22:12:00 +0000
commit99dbe2f7b1875ddef3440628ebe8a1c0ae19adf1 (patch)
tree92af1162463e1deaec955dcab4304c163d417a0b
parentb50cd074a817c735a71af7283ba33db3b1d1973f (diff)
downloadATCD-99dbe2f7b1875ddef3440628ebe8a1c0ae19adf1.tar.gz
Explicitly set type of long int based on compiler switch.
-rw-r--r--ace/config-hpux-11.x-hpc++.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ace/config-hpux-11.x-hpc++.h b/ace/config-hpux-11.x-hpc++.h
index 8faa9972c9b..ea30dafba11 100644
--- a/ace/config-hpux-11.x-hpc++.h
+++ b/ace/config-hpux-11.x-hpc++.h
@@ -68,6 +68,13 @@
// Compiler supports template specialization.
# define ACE_HAS_TEMPLATE_SPECIALIZATION
+// Preprocessor needs some help with data types
+# if defined (__LP64__)
+# define ACE_SIZEOF_LONG 8
+# else
+# define ACE_SIZEOF_LONG 4
+# endif
+
#endif /* __cplusplus < 199707L */
// Compiler supports the ssize_t typedef.