1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

Algorithm in

This commit is contained in:
Peter Boyle 2015-11-04 04:27:44 -06:00
parent 41299da406
commit d35d63b171

View File

@ -1,13 +1,12 @@
#ifndef GRID_BINARY_IO_H #ifndef GRID_BINARY_IO_H
#define GRID_BINARY_IO_H #define GRID_BINARY_IO_H
#ifdef HAVE_ENDIAN_H #ifdef HAVE_ENDIAN_H
#include <endian.h> #include <endian.h>
#endif #endif
#include <arpa/inet.h> #include <arpa/inet.h>
#include <algorithm>
// 64bit endian swap is a portability pain // 64bit endian swap is a portability pain
#ifndef __has_builtin // Optional of course. #ifndef __has_builtin // Optional of course.
#define __has_builtin(x) 0 // Compatibility with non-clang compilers. #define __has_builtin(x) 0 // Compatibility with non-clang compilers.