Projects
SLE15
bombono
bombono.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bombono.patch of Package bombono
--- a/src/mlib/tech.h +++ b/src/mlib/tech.h @@ -26,7 +26,7 @@ // Технические вещи // #include <boost/current_function.hpp> // для BOOST_CURRENT_FUNCTION -#include <boost/detail/endian.hpp> // для BOOST_XXX_ENDIAN +#include <endian.h> #include <boost/version.hpp> // для BOOST_MINOR_VERSION // для С-шного кода в С++ @@ -78,9 +78,9 @@ void AssertImpl(const char* assertion, c long line, const char* function); // endianness -#if defined(BOOST_BIG_ENDIAN) +#if __BYTE_ORDER == __BIG_ENDIAN # define HAS_BIG_ENDIAN -#elif defined(BOOST_LITTLE_ENDIAN) +#elif __BYTE_ORDER == __LITTLE_ENDIAN # define HAS_LITTLE_ENDIAN #else # error mlib/tech.h: unknown endianness (legacy PDP arch?)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.