Skip to content

Commit

Permalink
latest mac fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil McGill authored and Neil McGill committed Jan 4, 2025
1 parent d7c1514 commit f6efc45
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,12 @@ if [ "$SDL2_CONFIG" != "" ]; then
fi

log_info "SDL2 config : $SDL2_CONFIG"
log_info "SDL2 version : "$($SDL2_CONFIG --version)
log_info "SDL2 libs : "$($SDL2_CONFIG --libs)
log_info "SDL2 static libs : "$($SDL2_CONFIG --static-libs)
log_info "SDL2 cflags : "$($SDL2_CONFIG --cflags)
log_info "SDL2 prefix : "$($SDL2_CONFIG --prefix)
log_info "SDL2 exec-prefix : "$($SDL2_CONFIG --exec-prefix)
log_info "SDL2 version : "$($SDL2_CONFIG --version) 2>/dev/null
log_info "SDL2 libs : "$($SDL2_CONFIG --libs) 2>/dev/null
log_info "SDL2 static libs : "$($SDL2_CONFIG --static-libs) 2>/dev/null
log_info "SDL2 cflags : "$($SDL2_CONFIG --cflags) 2>/dev/null
log_info "SDL2 prefix : "$($SDL2_CONFIG --prefix) 2>/dev/null
log_info "SDL2 exec-prefix : "$($SDL2_CONFIG --exec-prefix) 2>/dev/null
log_info "SDL2 include path : $SDL2_INC_PATH"
log_info "SDL2 mixer.h : $SDL2_MIXER"
#log_info "SDL2 found : $SDL2_SCORE"
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 @@ -8,6 +8,7 @@

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

0 comments on commit f6efc45

Please sign in to comment.