Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Submitted By: Marcel Smit (marcelsmit)
Assigned to: Danny Backx (dannybackx)
Summary: Definitions of API functions results in compiler errors
In kfuncs.h some API functions are declared as follows:
#define GetCurrentThread() ((HANDLE)(SH_CURTHREAD+SYS_HANDLE_BASE))
This sometimes results in compiler errors.
Defining them as follows, resolves these compiler errors: