Archive: Small bug fix to exdll.h


Small bug fix to exdll.h
Guys, I needed to make the following small change (NSIS 2.06) to C:\Program Files\NSIS\Contrib\ExDLL\exdll.h:

-typedef struct {
+typedef struct exec_flags_ {
...
} exec_flags;

and use it as:

typedef struct {
- exec_flags *exec_flags;
+ struct exec_flags_ *exec_flags;
int (__stdcall *ExecuteCodeSegment)(int, HWND);
} extra_parameters;

Here, g++ 3.4 (MinGW) complained about the variable having the same name as the struct typedef.

Regards,
Angus


The change was already made in version 2.07b0.