Mail Archives: djgpp/1998/03/17/15:30:52
Hi,
I'm was rather puzzled as to what this code is at first look. It
turned out that __attribute__((stdcall)) directs the compiler how to
stack registers and djgpp knows all about this one.
CDECL however gave error before "(". I'm assured that this code did
compile on a gnu compiler. Any ideas on this would be greatly
appreciated.
Regards Ian.
bases.h
#define STDCALL __attribute__ ((stdcall))
#define CDECL __cdecl
ASCIIFunctions.h
int
STDCALL
wvsprintfW(
LPWSTR,
LPCWSTR,
va_list arglist);
int
CDECL
wsprintfW(LPWSTR, LPCWSTR, ...); //error before (
- Raw text -