Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
50eef545
Commit
50eef545
authored
Oct 21, 1998
by
Kurt Zeilenga
Browse files
Add byte ordering defines.
parent
b76c56ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/ac/socket.h
View file @
50eef545
...
...
@@ -74,5 +74,22 @@
#endif
/* __alpha && !VMS */
#ifndef BYTE_ORDER
/*
* Definitions for byte order, according to byte significance from low
* address to high.
*/
#define LITTLE_ENDIAN 1234
/* LSB first: i386, vax */
#define BIG_ENDIAN 4321
/* MSB first: 68000, ibm, net */
#define PDP_ENDIAN 3412
/* LSB first in word, MSW first in long */
/* assume autoconf's AC_C_BIGENDIAN has been run */
#ifdef WORDS_BIGENDIAN
#define BYTE_ORDER BIG_ENDIAN
#else
#define BYTE_ORDER LITTLE_ENDIAN
#endif
#endif
/* BYTE_ORDER */
#endif
/* _AC_SOCKET_H_ */
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment