diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-08-08 03:40:34 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-08-08 03:40:34 +0000 |
commit | ad8b1e807b0ea7a02b24ba2b6266b7f1613ce80a (patch) | |
tree | e3079da4932eb3eee7ecf670659e948cbc3a5480 /devel/uds/files/patch-uds::io_util.hh | |
parent | As announced on May 6, remove the broken chinese/mozilla-tclp port (diff) |
As announced on May 6, remove the broken devel/uds port
Diffstat (limited to 'devel/uds/files/patch-uds::io_util.hh')
-rw-r--r-- | devel/uds/files/patch-uds::io_util.hh | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/devel/uds/files/patch-uds::io_util.hh b/devel/uds/files/patch-uds::io_util.hh deleted file mode 100644 index 3e86e2906432..000000000000 --- a/devel/uds/files/patch-uds::io_util.hh +++ /dev/null @@ -1,47 +0,0 @@ ---- uds/io_util.hh.orig Thu Sep 5 10:14:44 2002 -+++ uds/io_util.hh Thu Sep 5 10:21:14 2002 -@@ -27,8 +27,7 @@ - - #include <uds/fdstream.hh> - #include <uds/stdexcpt.hh> --#include <byteswap.h> --#include <endian.h> -+#include <sys/endian.h> - #include <limits> - #include <unistd.h> - -@@ -45,33 +44,10 @@ - end_little = 1234, ///< little-endian - end_big = 4321, ///< big-endian - end_net = end_big, ///< network byte order -- end_host = __BYTE_ORDER ///< host byte order -+ end_host = BYTE_ORDER ///< host byte order - }; - - typedef unsigned endianess_t; -- -- --// the following bswap* functions need to be defined since --// gcc (at least 2.95.3) aborts with an error if the bswap_* macros are --// used inside of a template function and expand to assembly code. -- --inline u_int16_t --bswap16( u_int16_t x ) --{ -- return bswap_16( x ); --} -- --inline u_int32_t --bswap32( u_int32_t x ) --{ -- return bswap_32( x ); --} -- --inline u_int64_t --bswap64( u_int64_t x ) --{ -- return bswap_64( x ); --} - - - /** changes the endianess of an integral type |