Skip to content

Commit ff87982

Browse files
authored
Merge pull request #15 from EshayDev/main
fix: correct macro definition for symstub_solve to use RESOLVE_STUBS
2 parents ba43ece + a1962fe commit ff87982

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/tinyhook.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ TH_VIS void *symbol_resolve(uint32_t image_index, const char *symbol_name, uint
5656

5757
#define symtbl_solve(image_index, symbol_name) symbol_resolve(image_index, symbol_name, RESOLVE_SYMTAB)
5858
#define symexp_solve(image_index, symbol_name) symbol_resolve(image_index, symbol_name, RESOLVE_EXPORT)
59-
#define symstub_solve(image_index, symbol_name) symbol_resolve(image_index, symbol_name, RESOLVE_STUB)
59+
#define symstub_solve(image_index, symbol_name) symbol_resolve(image_index, symbol_name, RESOLVE_STUBS)
6060

6161
#ifdef __cplusplus
6262
}

0 commit comments

Comments
 (0)