From 93dc130872f961f7c59d6a697d8b4110d2c86dd2 Mon Sep 17 00:00:00 2001 From: ahlers Date: Fri, 19 Feb 2021 10:47:54 +0100 Subject: [PATCH] Fixed issues with deprecated BOOST_*_ENDIAN See #37 & #38 # Conflicts: # xs/src/admesh/stl.h --- xs/src/admesh/stl.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xs/src/admesh/stl.h b/xs/src/admesh/stl.h index 517930d496..c2a9f857ea 100644 --- a/xs/src/admesh/stl.h +++ b/xs/src/admesh/stl.h @@ -26,6 +26,11 @@ #include #include #include +#include + +#ifndef BOOST_ENDIAN_LITTLE_BYTE +#error "admesh works correctly on little endian machines only!" +#endif #if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) #include "windows.h"