summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-25 22:37:56 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-25 22:37:56 +0000
commit704484f7d07937e50e68893cf2ba3efd293f056e (patch)
treeada8fc74ad437ebd52c57397276d5f55c27addbf /ace
parentd755b11819666bd7dd1923ab98a0a36c43162e1b (diff)
downloadATCD-704484f7d07937e50e68893cf2ba3efd293f056e.tar.gz
ChangeLogTag:Thu Mar 25 16:31:27 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'ace')
-rw-r--r--ace/OS.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/OS.h b/ace/OS.h
index badab07f086..d6bc731b017 100644
--- a/ace/OS.h
+++ b/ace/OS.h
@@ -6948,9 +6948,13 @@ ACE_OS_CString (ASCII_STRING).wchar_rep ()
# if defined (ACE_LITTLE_ENDIAN)
# define ACE_HTONL(X) ACE_SWAP_LONG (X)
# define ACE_NTOHL(X) ACE_SWAP_LONG (X)
+# define ACE_IDL_NCTOHL(X) (X)
+# define ACE_IDL_NSTOHL(X) (X)
# else
# define ACE_HTONL(X) X
# define ACE_NTOHL(X) X
+# define ACE_IDL_NCTOHL(X) (X << 24)
+# define ACE_IDL_NSTOHL(X) ((X) << 16)
# endif /* ACE_LITTLE_ENDIAN */
# if defined (ACE_LITTLE_ENDIAN)