Skip to content

Commit

Permalink
Fixed issues with deprecated BOOST_*_ENDIAN
Browse files Browse the repository at this point in the history
See Zip-o-mat#37 & Zip-o-mat#38

# Conflicts:
#	xs/src/admesh/stl.h
  • Loading branch information
ahlers authored and AdelinoGP committed Feb 22, 2024
1 parent 0bcd5f0 commit 93dc130
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xs/src/admesh/stl.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <boost/predef/other/endian.h>

#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"
Expand Down

0 comments on commit 93dc130

Please sign in to comment.