14 lines
356 B
C++
14 lines
356 B
C++
--- src/aggwtree.cc.orig 2014-05-02 12:23:53 UTC
|
|
+++ src/aggwtree.cc
|
|
@@ -10,9 +10,7 @@
|
|
#ifdef HAVE_BYTEORDER_H
|
|
#include <byteorder.h>
|
|
#else
|
|
-static inline uint32_t bswap_32(uint32_t u) {
|
|
- return ((u >> 24) | ((u & 0xff0000) >> 8) | ((u & 0xff00) << 8) | ((u & 0xff) << 24));
|
|
-}
|
|
+#include <byteswap.h>
|
|
#endif
|
|
|
|
typedef AggregateWTree::WNode WNode;
|