diff --git a/shared/internal_logger.hpp b/shared/internal_logger.hpp index 49a7dab..d58f75d 100644 --- a/shared/internal_logger.hpp +++ b/shared/internal_logger.hpp @@ -3,29 +3,15 @@ #include #include "queue/concurrentqueue.h" -#if __has_include() -#include -#define PAPERLOG_SL_T std::source_location -#elif __has_include() -#define PAPERLOG_SL_T std::experimental::source_location -#include -#else #include "source_location.hpp" -#endif - -// NDK R26 is weird -#if !__has_builtin(__builtin_source_location) -#include "source_location.hpp" -#define NOSTD_SOURCE_LOCATION_HPP -#endif namespace Paper { -#ifndef NOSTD_SOURCE_LOCATION_HPP - using sl = PAPERLOG_SL_T; -#else +// #ifndef NOSTD_SOURCE_LOCATION_HPP + // using sl = PAPERLOG_SL_T; +// #else //#warning Using nostd source location using sl = nostd::source_location; -#endif +// #endif enum class LogLevel : uint8_t;