[ox] Move buildinfo and trace packages into std

This commit is contained in:
2019-02-23 23:02:25 -06:00
parent 57aa0d556c
commit 5a1d1c0a2f
25 changed files with 78 additions and 78 deletions

42
deps/ox/src/ox/std/buildinfo.cpp vendored Normal file
View File

@@ -0,0 +1,42 @@
/*
* Copyright 2015 - 2018 gtalent2@gmail.com
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
namespace ox::buildinfo {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-const-variable"
#if defined(OX_USE_STDLIB)
const bool UseStdLib = true;
#else
const bool UseStdLib = false;
#endif
#if defined(DEBUG)
const bool Debug = true;
#else
const bool Debug = false;
#endif
#if defined(NDEBUG)
const bool NDebug = true;
#else
const bool NDebug = false;
#endif
#if defined(__BIG_ENDIAN__)
const bool BigEndian = true;
const bool LittleEndian = false;
#else
const bool BigEndian = false;
const bool LittleEndian = true;
#endif
#pragma clang diagnostic pop
}