aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons
diff options
context:
space:
mode:
authorvlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2006-11-27 13:31:35 +0000
committervlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2006-11-27 13:31:35 +0000
commit0a885a65657689f0a7181d5250dc83a2ebd5e2b8 (patch)
treef4355f5dc3fa08e4e1b36ff1d4d665a17a15238f /skeletons
parentdb1b77ce05cc4f1d177204f14b6e550526625a9f (diff)
ntohl streamlined
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1274 59561ff5-6e30-0410-9f3c-9617f08c8826
Diffstat (limited to 'skeletons')
-rw-r--r--skeletons/asn_system.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/skeletons/asn_system.h b/skeletons/asn_system.h
index f920efc9..b1e0212e 100644
--- a/skeletons/asn_system.h
+++ b/skeletons/asn_system.h
@@ -27,9 +27,9 @@
#define vsnprintf _vsnprintf
/* To avoid linking with ws2_32.lib, here's the definition of ntohl() */
-#define sys_ntohl(l) ((((l) << 24) & 0xff000000)
- | (((l) << 16) & 0xff0000)
- | (((l) << 8) & 0xff00)
+#define sys_ntohl(l) ((((l) << 24) & 0xff000000) \
+ | (((l) << 16) & 0xff0000) \
+ | (((l) << 8) & 0xff00) \
| ((l) & 0xff))
#ifdef _MSC_VER /* MSVS.Net */