Skip to content

Commit

Permalink
add WINAPI again
Browse files Browse the repository at this point in the history
  • Loading branch information
tknopp committed Dec 8, 2013
1 parent 5b3b303 commit f64c3a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void __cdecl fpreset (void);
#include <windows.h>
#include <dbghelp.h>
extern int needsSymRefreshModuleList;
extern BOOL (*hSymRefreshModuleList)(HANDLE);
extern BOOL (WINAPI *hSymRefreshModuleList)(HANDLE);
#endif
#if defined(__linux__)
//#define _GNU_SOURCE
Expand Down
2 changes: 1 addition & 1 deletion src/task.c
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ static int frame_info_from_ip(const char **func_name, int *line_num, const char

#if defined(_OS_WINDOWS_)
int needsSymRefreshModuleList;
BOOL (*hSymRefreshModuleList)(HANDLE);
BOOL (WINAPI *hSymRefreshModuleList)(HANDLE);
DLLEXPORT size_t rec_backtrace(ptrint_t *data, size_t maxsize)
{
CONTEXT Context;
Expand Down

0 comments on commit f64c3a8

Please sign in to comment.