Feature Requests item #2750052, was opened at 2009-04-10 11:02
Message generated for change (Comment added) made by dannybackx
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=865517&aid=2750052&group_id=173455

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.
>Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Marcel Smit (marcelsmit)
>Assigned to: Danny Backx (dannybackx)
Summary: Definitions of API functions results in compiler errors

Initial Comment:
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:

inline HANDLE GetCurrentProcess()
{
  return ((HANDLE)(SH_CURPROC+SYS_HANDLE_BASE));
}

Attached a changed kfuncs.h

----------------------------------------------------------------------

>Comment By: Danny Backx (dannybackx)
Date: 2009-04-10 12:07

Message:
Applied your fix, thanks.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=865517&aid=2750052&group_id=173455

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to