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.

(synced from 4c23a2d761)
This commit is contained in:
2018-03-16 20:29:19 -05:00
parent 2d4df9983c
commit 56627543be
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
#pragma once
namespace ox::buildinfo {
namespace ox::defines {
#if defined(OX_USE_STDLIB)
constexpr auto UseStdLib = true;
+1 -1
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;