Commit Graph

10 Commits (e2ba16e3db9ea857522955f5937482e5bdcfb39c)

Author SHA1 Message Date
cantab.net!aia21 8b3c03e173 Rename scpu_to_le{16,32,64}() to cpu_to_sle{16,32,64}() to match the kernel.
(Logical change 1.586)
2004-09-30 15:00:31 +00:00
cantab.net!aia21 7d0ecd9832 - Add detection for <sys/byteorder.h> and make endianness detection
work on Solaris 2.6 (Yuval) and Solaris 9 (Anton).
- Emulate bswap_{16,32,64}() if not available/we cannot find them.

(Logical change 1.396)
2004-05-24 13:54:07 +00:00
cantab.net!aia21 58c28e0f78 - Move constant bswap macros out of the ifdefs in endians.h so they are
always available.  (Yuval)
- Add conditional include of sys/param.h in endians.h which provides
  endianness support on Cygwin.  (Yuval)

(Logical change 1.362)
2004-04-09 14:49:40 +00:00
cantab.net!aia21 a0cbfc4ce4 Provide our own __ntfs_bswap_constant_xx functions so we completely
avoid the mess that some architectures define only some of the
constant bswap functions.

(Logical change 1.318)
2004-03-10 22:53:49 +00:00
cantab.net!aia21 77c794f202 Try the SuSE patch.
(Logical change 1.315)
2004-03-10 15:17:51 +00:00
cantab.net!aia21 0dd38ddd7d Use AC_CHECK_DECLS in configure.ac to determine if the constant bswap
functions are defined/declared and define them to the non-constant ones
in endians.h if not.

(Logical change 1.314)
2004-03-10 10:22:03 +00:00
cantab.net!aia21 232af61717 Use bswap_xx instead of __bswap_constant_xx when the constant version
is not available as is the case on some architectures.  (Thanks to
David Martínez Moreno for the bug report.)

(Logical change 1.302)
2004-03-08 12:19:08 +00:00
cantab.net!aia21 f64410dbb7 Guard config.h inclusiong with ifdef HAVE_CONFIG_H
(Logical change 1.288)
2004-02-29 14:09:45 +00:00
cantab.net!aia21 c1e3dc03be Rename: include/endians.h -> include/ntfs/endians.h
(Logical change 1.280)
2004-02-25 14:21:14 +00:00
cantab.net!aia21 b1c59d1796 Initial revision 2004-02-25 14:21:14 +00:00