Hum first I mean you need to declare it with inline but without the _ like
this.
Could you test and tell us if it solves your issue ?






winbase.h:
----------

#ifdef _WIN32_WCE
inline LPVOID LockResource(HGLOBAL hResData) { return ((LPVOID)hResData); }

#else
WINBASEAPI PVOID WINAPI LockResource(HGLOBAL);
#endif


kfunc.h:
------------

/* Process/Thread ID Methods */
inline HANDLE GetCurrentThread(void) {
        return ((HANDLE)(SH_CURTHREAD+SYS_HANDLE_BASE));
}

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

inline DWORD GetCurrentThreadId(void) {
        return ((DWORD)(((HANDLE 
*)(PUserKData+SYSHANDLE_OFFSET))[SH_CURTHREAD]));
}

inline DWORD GetCurrentProcessId(void) {
        return ((DWORD)(((HANDLE *)(PUserKData+SYSHANDLE_OFFSET))[SH_CURPROC]));
}

...

inline BOOL PulseEvent(HANDLE h) {
        return EventModify(h,EVENT_PULSE);
}

inline BOOL ResetEvent(HANDLE h) {
        return EventModify(h,EVENT_RESET);
}

inline BOOL SetEvent(HANDLE h) {
        return EventModify(h,EVENT_SET);
}

...

inline DWORD WINAPI TlsAlloc(void) { 
return TlsCall(TLS_FUNCALLOC, 0); 
}
 
inline BOOL WINAPI TlsFree(DWORD dwTlsIndex) { 
return TlsCall(TLS_FUNCFREE, dwTlsIndex); 
}

Danny,

Could you fix it on svn ? 

Thanks



------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to