aboutsummaryrefslogtreecommitdiff
path: root/zencore/except.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zencore/except.cpp')
-rw-r--r--zencore/except.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/except.cpp b/zencore/except.cpp
index ebaecf815..fae629286 100644
--- a/zencore/except.cpp
+++ b/zencore/except.cpp
@@ -81,7 +81,7 @@ GetSystemErrorAsString(uint32_t ErrorCode)
return std::error_code(ErrorCode, std::system_category()).message();
}
-#if __cpp_lib_source_location
+#if defined(__cpp_lib_source_location)
void
ThrowLastError(std::string_view Message, const std::source_location& Location)
{