Skip to content

Commit

Permalink
macos build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
goblinhack committed Jan 7, 2025
1 parent c241ea8 commit 18716ea
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion build/tidy_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ for IN in \
weapons/*py
do
echo Tidying $IN...

grep -q is_monst_pack $IN
if [ $? -eq 0 ]; then
continue
Expand Down
1 change: 0 additions & 1 deletion src/.clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ BraceWrapping:
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
BreakBeforeBinaryOperators: All
BreakBeforeConceptDeclarations: true
BreakBeforeBraces: Linux
BreakBeforeInheritanceComma: false
Expand Down
1 change: 1 addition & 0 deletions src/my_source_loc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#define _MY_SOURCE_LOC_HPP_

#if defined(__cpp_lib_source_location) && (__cpp_lib_source_location >= 201907L)
#include <source_location>
// Feature test macros https://en.cppreference.com/w/cpp/feature_test
#define SRC_FILE_NAME (std::source_location::current().file_name())
#define SRC_FUNC_NAME (std::source_location::current().function_name())
Expand Down

0 comments on commit 18716ea

Please sign in to comment.