1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
From: Chow Loong Jin <hyperair@debian.org>
Date: Tue, 6 Nov 2018 01:10:33 +0800
Subject: Drop #error "admesh works correctly on little endian machines only"
admesh works fine on little-endian machines as of b9592961. It just doesn't
compile because of this pesky #error.
From: commit:94420acc2b0a7282c761a280d13724bca22ded17
Bug-Debian: https://bugs.debian.org/907346
Bug: https://github.com/slic3r/Slic3r/pull/4574
---
xs/src/admesh/stl.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/xs/src/admesh/stl.h b/xs/src/admesh/stl.h
index f86f994..9b04602 100644
--- a/xs/src/admesh/stl.h
+++ b/xs/src/admesh/stl.h
@@ -28,10 +28,6 @@
#include <stddef.h>
#include <boost/detail/endian.hpp>
-#ifndef BOOST_LITTLE_ENDIAN
-#error "admesh works correctly on little endian machines only!"
-#endif
-
#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
#include "windows.h"
#define ADMESH_CHAR wchar_t
|