diff --git a/Source/exehead/api.h b/Source/exehead/api.h index a2c988aa..9a90278c 100644 --- a/Source/exehead/api.h +++ b/Source/exehead/api.h @@ -57,6 +57,10 @@ typedef struct int status_update; } exec_flags_t; +#ifndef NSISCALL +# define NSISCALL __stdcall +#endif + typedef struct { exec_flags_t *exec_flags; int (NSISCALL *ExecuteCodeSegment)(int, HWND);