Skip to content

Commit

Permalink
fix: build errors on windows and linux
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Olivier <martin.olivier@live.fr>
  • Loading branch information
martin-olivier committed Mar 2, 2025
1 parent 99c63f5 commit fd4770b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/symbols.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ static void add_symbol(std::vector<symbol_info> &result, const char *symbol, boo
#include <windows.h>
#include <tchar.h>

std::vector<symbol_info> get_symbols(HMODULE handle, int fd, bool demangle, bool loadable) {
std::vector<symbol_info> get_symbols(HMODULE handle, int fd) {
std::vector<symbol_info> symbols_list;
PIMAGE_EXPORT_DIRECTORY pExportDir;
PIMAGE_DOS_HEADER pDosHeader;
Expand Down Expand Up @@ -215,7 +215,7 @@ std::vector<symbol_info> get_symbols(void *handle, int fd) {
#error "Environment not 32 or 64-bit."
#endif

std::vector<symbol_info> get_symbols(void *handle, int fd, bool demangle, bool loadable) {
std::vector<symbol_info> get_symbols(void *handle, int fd) {
std::vector<symbol_info> result;
struct link_map *map = nullptr;
ElfSym *symtab = nullptr;
Expand Down

0 comments on commit fd4770b

Please sign in to comment.