Change buildinfo namespace to defines

Defines better reflects that these are from the defines given for the
current file's compile options, not the options used when building the
Ox libraries being linked against.
This commit is contained in:
Gary Talent 2018-03-16 20:29:19 -05:00
parent e19e70e065
commit 4c23a2d761
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
#pragma once
namespace ox::buildinfo {
namespace ox::defines {
#if defined(OX_USE_STDLIB)
constexpr auto UseStdLib = true;

View File

@ -72,7 +72,7 @@ constexpr inline uint64_t byteSwap(uint64_t i) {
*/
template<typename T>
constexpr inline T bigEndianAdapt(T i) {
if constexpr(ox::buildinfo::BigEndian) {
if constexpr(ox::defines::BigEndian) {
return byteSwap(i);
} else {
return i;