diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2002-06-17 08:22:02 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2002-06-17 08:22:02 +0000 |
commit | 6cde27195c7527fde31eb06a2025f67657e06150 (patch) | |
tree | 96f9d38ef340789ead4b16fd04a9667481233fac | |
parent | 00a9e8a063300528ce99a7656859f100521d53f3 (diff) | |
download | cygnal-6cde27195c7527fde31eb06a2025f67657e06150.tar.gz cygnal-6cde27195c7527fde31eb06a2025f67657e06150.tar.bz2 cygnal-6cde27195c7527fde31eb06a2025f67657e06150.zip |
2002-06-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/windef.h (_fastcall, __fastcall, FASTCALL):
Add defines.
-rw-r--r-- | winsup/w32api/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/w32api/include/windef.h | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index ddaff9b3b..01858adc9 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,8 @@ +2002-06-17 Casper S. Hornstrup <chorns@users.sourceforge.net> + + * include/windef.h (_fastcall, __fastcall, FASTCALL): + Add defines. + 2002-06-16 Egor Duda <deo@logos-m.ru> * include/ntdll.h: New file. diff --git a/winsup/w32api/include/windef.h b/winsup/w32api/include/windef.h index 2f8f76b1c..aaf723349 100644 --- a/winsup/w32api/include/windef.h +++ b/winsup/w32api/include/windef.h @@ -51,6 +51,12 @@ extern "C" { #ifdef __GNUC__ #define PACKED __attribute__((packed)) +#ifndef _fastcall +#define _fastcall __attribute__((fastcall)) +#endif +#ifndef __fastcall +#define __fastcall __attribute__((fastcall)) +#endif #ifndef _stdcall #define _stdcall __attribute__((stdcall)) #endif @@ -84,6 +90,7 @@ extern "C" { #define PASCAL _pascal #define CDECL _cdecl #define STDCALL __stdcall +#define FASTCALL __fastcall #define WINAPI __stdcall #define WINAPIV __cdecl #define APIENTRY __stdcall |