diff options
author | Steve Huston <shuston@riverace.com> | 1998-04-15 22:12:00 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 1998-04-15 22:12:00 +0000 |
commit | 99dbe2f7b1875ddef3440628ebe8a1c0ae19adf1 (patch) | |
tree | 92af1162463e1deaec955dcab4304c163d417a0b | |
parent | b50cd074a817c735a71af7283ba33db3b1d1973f (diff) | |
download | ATCD-99dbe2f7b1875ddef3440628ebe8a1c0ae19adf1.tar.gz |
Explicitly set type of long int based on compiler switch.
-rw-r--r-- | ace/config-hpux-11.x-hpc++.h | 7 |
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. |