Browse files

endianess... what stress

  • Loading branch information...
1 parent 1f059f6 commit a87489f9a687c0ae61b81b34ad7d32c45817ab00 @dam2k committed Apr 11, 2012
Showing with 5 additions and 5 deletions.
  1. +1 −1 configure.ac
  2. +4 −4 src/common.h
View
2 configure.ac
@@ -64,7 +64,7 @@ fi
# Checks for header files.
AC_HEADER_STDC
-AC_CHECK_HEADERS([inttypes.h stddef.h stdlib.h stdarg.h string.h strings.h sys/time.h unistd.h sys/types.h sys/socket.h arpa/inet.h netdb.h fcntl.h sys/select.h errno.h stdio.h stdint.h endian.h byteswap.h])
+AC_CHECK_HEADERS([inttypes.h stddef.h stdlib.h stdarg.h string.h strings.h sys/time.h unistd.h sys/types.h sys/socket.h arpa/inet.h netdb.h fcntl.h sys/select.h errno.h stdio.h stdint.h endian.h machine/endian.h byteswap.h])
# Checking pthread
if test "x${have_pthreads}" = xyes; then
View
8 src/common.h
@@ -60,12 +60,12 @@
#else
#error Sorry, this library requires endian.h
#endif
-#if HAVE_BE64TOH
-#else
-#include <byteswap.h>
+//#if HAVE_BE64TOH
+//#else
+//#include <byteswap.h>
//#warning Sorry. Your system lacks of be64toh() function needed to convert long numbers from the net to your architecture
//#warning Please upgrade your glibc library almost to 2.9.
-#endif
+//#endif
#define TRUE (1)
#define FALSE (0)

0 comments on commit a87489f

Please sign in to comment.